vue3-custom-components
A Vue.js 3 UI library
967
| Install | |
|---|---|
npm install vue3-custom-components |
|
| Latest Version: | 1.1.2 |
| Vue: | 3 |
| License: | MIT |
| Last Updated: | Sep 5, 2023 |
| Links: | npm |
Maintainer: forever0505
vue3-components
A Vue.js 3 UI library
安装
node:>= 20
npm
这里推荐pnpm进行安装
pnpm install vue3-custom-components --save
使用
全局引入
在main.js中
import { createApp } from 'vue';
import App from './App.vue';
// 完整引入组件库
import Vue3Component from 'vue3-custom-components';
const app = createApp(App);
// 全局安装
app.use(Vue3Component).mount('#app');
组件当中
<vue-button type="success">按钮组件</vue-button>
按需引入
main.js中
import { createApp } from 'vue';
import App from './App.vue';
// 按需引入
import { VueButton } from 'vue3-custom-components';
const app = createApp(App);
app.use(VueButton).mount('#app');
组件当中
<vue-button type="success">按钮组件</vue-button>
Related Packages
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 1.1.2 | >=3.2.25 | MIT | |
| 1.1.1 | >=3.2.25 | MIT | |
| 1.1.0 | >=3.2.25 | MIT | |
| 1.0.38 | >=3.2.25 | MIT | |
| 1.0.37 | >=3.2.25 | MIT | |
| 1.0.36 | >=3.2.25 | MIT | |
| 1.0.35 | >=3.2.25 | MIT | |
| 1.0.34 | >=3.2.25 | MIT | |
| 1.0.33 | >=3.2.25 | MIT | |
| 1.0.32 | >=3.2.25 | MIT | |
| 1.0.31 | >=3.2.25 | MIT | |
| 1.0.30 | >=3.2.25 | ||
| 1.0.29 | >=3.2.25 | ||
| 1.0.28 | >=3.2.25 | ||
| 1.0.26 | >=3.2.25 | ||
| 1.0.25 | >=3.2.25 | ||
| 1.0.24 | >=3.2.25 | ||
| 1.0.22 | >=3.2.25 | ||
| 1.0.20 | >=3.2.25 | ||
| 1.0.19 | >=3.2.25 | ||
| 1.0.17 | >=3.2.25 | ||
| 1.0.16 | >=3.2.25 | ||
| 1.0.15 | >=3.2.25 | ||
| 1.0.14 | >=3.2.25 | ||
| 1.0.13 | >=3.2.25 | ||
| 1.0.12 | >=3.2.25 | ||
| 1.0.11 | >=3.2.25 | ||
| 1.0.10 | >=3.2.25 | ||
| 1.0.9 | >=3.2.25 | ||
| 1.0.8 | >=3.2.25 |
Showing the latest 30 of 40. See every release on npm