UNPKG

balm-ui

Version:

A modular and customizable UI library based on Material Design and Vue 3

21 lines (16 loc) 472 B
import multiConfigure from './multi-configure'; const multiBootstrap = (Components) => { const UiComponents = { install(app, options = {}) { // Configure the components' props multiConfigure(Components, options); // Install the components for (let key in Components) { const Component = Components[key]; app.component(Component.name, Component); } } }; return UiComponents; }; export default multiBootstrap;