0.0.4 • Published 2 years ago
@luzhaoqi/x-ui2 v0.0.4
x-ui2
vue2的版本
分为webpack打包合rollup打包,每次发包需要修改package.json中的版本号
webpack命令:
npm run lib--webpack
"main": "dist/x-ui2.umd.min.js",
rollup命令:
npm run lib--rollup
"main": "dist/x-ui2.cjs",
或者
"main": "dist/x-ui2.umd.js",
使用说明
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
import XUI2 from "@luzhaoqi/x-ui2";
import "@luzhaoqi/x-ui/dist/x-ui2.css";
Vue.use(ElementUI);
Vue.use(XUI2);