birdpaper-ui
Version:
一个通用的 vue3 UI组件库。A common vue3 UI component library.
15 lines (14 loc) • 466 B
JavaScript
import { getComponentsPrefix } from "../utils/config.js";
import _select from "./src/select.vue.js";
import _selectOption from "./src/option.vue.js";
_select.name = getComponentsPrefix() + _select.name;
_selectOption.name = getComponentsPrefix() + _selectOption.name;
const Select = Object.assign(_select, {
install: (app) => {
app.component(_select.name, _select);
app.component(_selectOption.name, _selectOption);
}
});
export {
Select as default
};