birdpaper-ui
Version:
一个通用的 vue3 UI组件库。A common vue3 UI component library.
17 lines (16 loc) • 428 B
JavaScript
import { getComponentsPrefix } from "../utils/config.js";
import _grid from "./src/grid.vue.js";
import _col from "./src/col.vue.js";
_grid.name = getComponentsPrefix() + _grid.name;
_col.name = getComponentsPrefix() + _col.name;
const Grid = Object.assign(_grid, {
Col: _col,
install: (app) => {
app.component(_grid.name, _grid);
app.component(_col.name, _col);
}
});
export {
_col as Col,
Grid as default
};