UNPKG

asp-smart-ui-plus-test

Version:

A Component Library for Vue 3

27 lines (22 loc) 634 B
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); require('./constants/index.js'); require('./hooks/index.js'); var key = require('./constants/key.js'); var index = require('./hooks/use-global-config/index.js'); const version = "1.0.10"; const makeInstaller = (components = []) => { const install = (app, options) => { if (app[key.INSTALLED_KEY]) return; app[key.INSTALLED_KEY] = true; components.forEach((c) => app.use(c)); if (options) index.provideGlobalConfig(options, app, true); }; return { version, install }; }; exports.makeInstaller = makeInstaller;