UNPKG

birdpaper-ui

Version:

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

15 lines (14 loc) 469 B
import _table from "./src/table.vue.js"; import _tableColumn from "./src/components/table-cloumn.vue.js"; import { getComponentsPrefix } from "../utils/config.js"; _table.name = getComponentsPrefix() + _table.name; _tableColumn.name = getComponentsPrefix() + _tableColumn.name; const Table = Object.assign(_table, { install: (app) => { app.component(_table.name, _table); app.component(_tableColumn.name, _tableColumn); } }); export { Table as default };