30 lines
668 B
Markdown
30 lines
668 B
Markdown
|
# vueAdmin-template
|
||
|
|
||
|
> A vue admin template with Element UI & axios & iconfont & permission control & lint
|
||
|
|
||
|
**Live demo:** http://panjiachen.github.io/vueAdmin-template
|
||
|
|
||
|
## Build Setup
|
||
|
|
||
|
``` bash
|
||
|
|
||
|
# Clone project
|
||
|
git clone https://github.com/PanJiaChen/vueAdmin-template.git
|
||
|
|
||
|
# Install dependencies
|
||
|
npm install
|
||
|
|
||
|
# 建议不要用cnpm 安装有各种诡异的bug 可以通过如下操作解决npm速度慢的问题
|
||
|
npm install --registry=https://registry.npm.taobao.org
|
||
|
|
||
|
# serve with hot reload at localhost:9528
|
||
|
npm run dev
|
||
|
|
||
|
# build for production with minification
|
||
|
npm run build
|
||
|
|
||
|
# build for production and view the bundle analyzer report
|
||
|
npm run build --report
|
||
|
```
|
||
|
|