A Vue 3 Component Library
English | 中文
vue-scaffold-ui
│
└───lib[Library Directory]
│ │ index.ts
│
└───src[Library demo directory]
│ │ main.ts
http://blog.icuxika.com/vue-scaffold-ui/
yarn add @icuxika/vue-scaffold-ui
or
npm install @icuxika/vue-scaffold-ui
import { VBanner, VButton } from "@icuxika/vue-scaffold-ui";
import "@icuxika/vue-scaffold-ui/style.css";
<VBanner />
<VButton loading>naive-ui</VButton>
import {
create as createVUI,
VBanner,
VButton,
} from "@icuxika/vue-scaffold-ui";
import "@icuxika/vue-scaffold-ui/style.css";
const vueScaffoldUI = createVUI({
components: [VBanner, VButton],
});
const app = createApp(App);
app.use(vueScaffoldUI);
<v-banner></v-banner>
<v-button loading>Vue Scaffold UI</v-button>
yarn dev
yarn build
npm publish
yarn lint
yarn cm
How To Create A Vue.js 3 Plugin Component With Others In Minutes And Publish NPM!