|
@@ -1,14 +1,23 @@
|
1
|
|
-# vue-admin
|
|
1
|
+# vueAdmin-template
|
2
|
2
|
|
3
|
|
-> A Vue.js project
|
|
3
|
+> 这是一个 极简的vue admin 管理后台 它只包含了 Element UI & axios & iconfont & permission control & lint,这些搭建后台必要的东西。
|
|
4
|
+
|
|
5
|
+[线上地址](http://panjiachen.github.io/vueAdmin-template)
|
4
|
6
|
|
5
|
7
|
## Build Setup
|
6
|
8
|
|
7
|
9
|
``` bash
|
8
|
|
-# install dependencies
|
|
10
|
+
|
|
11
|
+# Clone project
|
|
12
|
+git clone https://github.com/PanJiaChen/vueAdmin-template.git
|
|
13
|
+
|
|
14
|
+# Install dependencies
|
9
|
15
|
npm install
|
10
|
16
|
|
11
|
|
-# serve with hot reload at localhost:8080
|
|
17
|
+# 建议不要用cnpm 安装有各种诡异的bug 可以通过如下操作解决npm速度慢的问题
|
|
18
|
+npm install --registry=https://registry.npm.taobao.org
|
|
19
|
+
|
|
20
|
+# serve with hot reload at localhost:9528
|
12
|
21
|
npm run dev
|
13
|
22
|
|
14
|
23
|
# build for production with minification
|
|
@@ -18,4 +27,3 @@ npm run build
|
18
|
27
|
npm run build --report
|
19
|
28
|
```
|
20
|
29
|
|
21
|
|
-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).
|