birdpaper-ui
Version:
一个通用的 vue3 UI组件库。A common vue3 UI component library.
14 lines (13 loc) • 477 B
JavaScript
;
const table = require("./src/table.vue.js");
const tableCloumn = require("./src/components/table-cloumn.vue.js");
const config = require("../utils/config.js");
table.name = config.getComponentsPrefix() + table.name;
tableCloumn.name = config.getComponentsPrefix() + tableCloumn.name;
const Table = Object.assign(table, {
install: (app) => {
app.component(table.name, table);
app.component(tableCloumn.name, tableCloumn);
}
});
module.exports = Table;