hiller-ui
Version:
A personal Vue.js 3.0 UI Toolkit.
23 lines (19 loc) • 456 B
JavaScript
import HlButton from "./components/button/src/index.vue";
import HlCard from "./components/card/src/index.vue";
import HlIcon from "./components/icon/src/index.vue";
import { createApp } from "vue";
console.log(createApp);
const components = [
HlButton,
HlCard,
HlIcon
];
const install = (app) => {
components.forEach(item => {
app.component(item.name, item);
});
};
export default {
install,
version: "1.0.0"
};