refine readme
This commit is contained in:
parent
7efffb9f47
commit
354a31b4b1
|
@ -0,0 +1,29 @@
|
||||||
|
# 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
|
||||||
|
```
|
||||||
|
|
18
README.md
18
README.md
|
@ -1,14 +1,23 @@
|
||||||
# vue-admin
|
# vueAdmin-template
|
||||||
|
|
||||||
> A Vue.js project
|
> 这是一个 极简的vue admin 管理后台 它只包含了 Element UI & axios & iconfont & permission control & lint,这些搭建后台必要的东西。
|
||||||
|
|
||||||
|
[线上地址](http://panjiachen.github.io/vueAdmin-template)
|
||||||
|
|
||||||
## Build Setup
|
## Build Setup
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
# install dependencies
|
|
||||||
|
# Clone project
|
||||||
|
git clone https://github.com/PanJiaChen/vueAdmin-template.git
|
||||||
|
|
||||||
|
# Install dependencies
|
||||||
npm install
|
npm install
|
||||||
|
|
||||||
# serve with hot reload at localhost:8080
|
# 建议不要用cnpm 安装有各种诡异的bug 可以通过如下操作解决npm速度慢的问题
|
||||||
|
npm install --registry=https://registry.npm.taobao.org
|
||||||
|
|
||||||
|
# serve with hot reload at localhost:9528
|
||||||
npm run dev
|
npm run dev
|
||||||
|
|
||||||
# build for production with minification
|
# build for production with minification
|
||||||
|
@ -18,4 +27,3 @@ npm run build
|
||||||
npm run build --report
|
npm run build --report
|
||||||
```
|
```
|
||||||
|
|
||||||
For detailed explanation on how things work, checkout the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).
|
|
||||||
|
|
Loading…
Reference in New Issue