Appearance
说明
TIP
该组件库部分组件基于 element-plus 组件库进行二次封装,使用前可以根据组件中标识是否基于 element-plus 封装来是否安装引入 element-plus
快速上手
本节将介绍如何在项目中使用 WanxyUI 或者 WanxyDesign
安装
shell
npm install wanxy-design
yarn add wanxy-design
npm install wanxy-design
yarn add wanxy-design
用法
全局引入
js
import { createApp } from "vue";
import WanxyDesign from "wanxy-design";
import App from "./App.vue";
import ElementPlus from "element-plus";
import "element-plus/dist/index.css";
const app = createApp(App);
app.use(ElementPlus);
app.use(WanxyDesign);
app.mount("#app");
import { createApp } from "vue";
import WanxyDesign from "wanxy-design";
import App from "./App.vue";
import ElementPlus from "element-plus";
import "element-plus/dist/index.css";
const app = createApp(App);
app.use(ElementPlus);
app.use(WanxyDesign);
app.mount("#app");