一个基于Element UI的后台极简模板,除Element UI外,还加入了网络请求axios和路由vue-router,适合作为基础模板来开发。
# Clone project
git clone https://github.com/wufan123/vue-element-starter.git
# Install dependencies
npm install
# 建议不要用cnpm 可能因为安装目录的原因会有莫名的错误 可以通过如下操作解决npm速度慢的问题
npm install --registry=https://registry.npm.taobao.org
# 在localhost:8020预览调试
npm run dev
# 混淆压缩打包
npm run build
# 编译elememt主题
npm run theme