UNPKG

birdpaper-ui

Version:

一个通用的 vue3 UI组件库。A common vue3 UI component library.

14 lines (13 loc) 444 B
"use strict"; const config = require("../utils/config.js"); const select = require("./src/select.vue.js"); const option = require("./src/option.vue.js"); select.name = config.getComponentsPrefix() + select.name; option.name = config.getComponentsPrefix() + option.name; const Select = Object.assign(select, { install: (app) => { app.component(select.name, select); app.component(option.name, option); } }); module.exports = Select;