2017-07-04 10:40:52 +08:00
|
|
|
# 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
|
|
|
|
```
|
2017-07-04 15:13:02 +08:00
|
|
|
## Demo
|
|
|
|
![demo](https://github.com/PanJiaChen/PanJiaChen.github.io/blob/master/images/demo.gif)
|