You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
# vueAdmin-template
|
|
|
|
|
|
|
|
|
|
> 这是一个 极简的vue admin 管理后台 它只包含了 Element UI & axios & iconfont & permission control & lint,这些搭建后台必要的东西。
|
|
|
|
|
|
|
|
|
|
[线上地址](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
|
|
|
|
|
```
|
|
|
|
|
|