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