Переглянути джерело

docs: change vueAdmin-template => vue-admin-template

Pan 6 роки тому
батько
коміт
56d234840d
3 змінених файлів з 22 додано та 22 видалено
  1. 10 10
      README-zh.md
  2. 11 11
      README.md
  3. 1 1
      config/index.js

+ 10 - 10
README-zh.md

@@ -1,14 +1,14 @@
1
-# vueAdmin-template
1
+# vue-admin-template
2
 
2
 
3
 > 这是一个 极简的 vue admin 管理后台 它只包含了 Element UI & axios & iconfont & permission control & lint,这些搭建后台必要的东西。
3
 > 这是一个 极简的 vue admin 管理后台 它只包含了 Element UI & axios & iconfont & permission control & lint,这些搭建后台必要的东西。
4
 
4
 
5
-[线上地址](http://panjiachen.github.io/vueAdmin-template)
5
+[线上地址](http://panjiachen.github.io/vue-admin-template )
6
 
6
 
7
 ## Extra
7
 ## Extra
8
 
8
 
9
-如果你想要根据用户角色来动态生成侧边栏和 router,你可以使用改分支[permission-control](https://github.com/PanJiaChen/vueAdmin-template/tree/permission-control)
9
+如果你想要根据用户角色来动态生成侧边栏和 router,你可以使用改分支[permission-control](https://github.com/PanJiaChen/vue-admin-template /tree/permission-control)
10
 
10
 
11
-本项目基于`webpack4`开发,若还想使用`webpack3`开发,请使用该分支[webpack3](https://github.com/PanJiaChen/vueAdmin-template/tree/webpack3)
11
+本项目基于`webpack4`开发,若还想使用`webpack3`开发,请使用该分支[webpack3](https://github.com/PanJiaChen/vue-admin-template /tree/webpack3)
12
 
12
 
13
 ## 相关项目
13
 ## 相关项目
14
 
14
 
@@ -28,7 +28,7 @@
28
 
28
 
29
 ```bash
29
 ```bash
30
 # Clone project
30
 # Clone project
31
-git clone https://github.com/PanJiaChen/vueAdmin-template.git
31
+git clone https://github.com/PanJiaChen/vue-admin-template .git
32
 
32
 
33
 # Install dependencies
33
 # Install dependencies
34
 npm install
34
 npm install
@@ -52,11 +52,11 @@ npm run build --report
52
 
52
 
53
 ### Element-Ui 使用 cdn 教程
53
 ### Element-Ui 使用 cdn 教程
54
 
54
 
55
-首先找到 `index.html` ([根目录下](https://github.com/PanJiaChen/vueAdmin-template/blob/element-ui-cdn/index.html))
55
+首先找到 `index.html` ([根目录下](https://github.com/PanJiaChen/vue-admin-template /blob/element-ui-cdn/index.html))
56
 
56
 
57
 引入 Element 的 css 和 js ,并且引入 vue 。因为 Element-Ui 是依赖 vue 的,所以必须在它之前引入 vue 。
57
 引入 Element 的 css 和 js ,并且引入 vue 。因为 Element-Ui 是依赖 vue 的,所以必须在它之前引入 vue 。
58
 
58
 
59
-之后找到 [webpack.base.conf.js](https://github.com/PanJiaChen/vueAdmin-template/blob/element-ui-cdn/build/webpack.base.conf.js) 加入 `externals` 让 webpack 不打包 vue 和 element
59
+之后找到 [webpack.base.conf.js](https://github.com/PanJiaChen/vue-admin-template /blob/element-ui-cdn/build/webpack.base.conf.js) 加入 `externals` 让 webpack 不打包 vue 和 element
60
 
60
 
61
 ```
61
 ```
62
 externals: {
62
 externals: {
@@ -71,12 +71,12 @@ externals: {
71
 如图:
71
 如图:
72
 ![demo](https://panjiachen.github.io/images/element-cdn.png)
72
 ![demo](https://panjiachen.github.io/images/element-cdn.png)
73
 
73
 
74
-**[具体代码](https://github.com/PanJiaChen/vueAdmin-template/commit/746aff560932704ae821f82f10b8b2a9681d5177)**
74
+**[具体代码](https://github.com/PanJiaChen/vue-admin-template /commit/746aff560932704ae821f82f10b8b2a9681d5177)**
75
 
75
 
76
-**[对应分支](https://github.com/PanJiaChen/vueAdmin-template/tree/element-ui-cdn)**
76
+**[对应分支](https://github.com/PanJiaChen/vue-admin-template /tree/element-ui-cdn)**
77
 
77
 
78
 ## License
78
 ## License
79
 
79
 
80
-[MIT](https://github.com/PanJiaChen/vueAdmin-template/blob/master/LICENSE) license.
80
+[MIT](https://github.com/PanJiaChen/vue-admin-template /blob/master/LICENSE) license.
81
 
81
 
82
 Copyright (c) 2017-present PanJiaChen
82
 Copyright (c) 2017-present PanJiaChen

+ 11 - 11
README.md

@@ -1,16 +1,16 @@
1
-# vueAdmin-template
1
+# vue-admin-template
2
 
2
 
3
 > A minimal vue admin template with Element UI & axios & iconfont & permission control & lint
3
 > A minimal vue admin template with Element UI & axios & iconfont & permission control & lint
4
 
4
 
5
-**Live demo:** http://panjiachen.github.io/vueAdmin-template
5
+**Live demo:** http://panjiachen.github.io/vue-admin-template
6
 
6
 
7
-[中文文档](https://github.com/PanJiaChen/vueAdmin-template/blob/master/README-zh.md)
7
+[中文文档](https://github.com/PanJiaChen/vue-admin-template /blob/master/README-zh.md)
8
 
8
 
9
 ## Build Setup
9
 ## Build Setup
10
 
10
 
11
 ```bash
11
 ```bash
12
 # Clone project
12
 # Clone project
13
-git clone https://github.com/PanJiaChen/vueAdmin-template.git
13
+git clone https://github.com/PanJiaChen/vue-admin-template .git
14
 
14
 
15
 # Install dependencies
15
 # Install dependencies
16
 npm install
16
 npm install
@@ -33,9 +33,9 @@ https://panjiachen.gitee.io/vue-element-admin-site/zh/guide/
33
 
33
 
34
 ## Extra
34
 ## Extra
35
 
35
 
36
-If you want router permission && generate menu by user roles , you can use this branch [permission-control](https://github.com/PanJiaChen/vueAdmin-template/tree/permission-control)
36
+If you want router permission && generate menu by user roles , you can use this branch [permission-control](https://github.com/PanJiaChen/vue-admin-template /tree/permission-control)
37
 
37
 
38
-This project is based on `webpack4` development. If you want to use `webpack3` development, please use this branch [webpack3](https://github.com/PanJiaChen/vueAdmin-template/tree/webpack3)
38
+This project is based on `webpack4` development. If you want to use `webpack3` development, please use this branch [webpack3](https://github.com/PanJiaChen/vue-admin-template /tree/webpack3)
39
 
39
 
40
 ## Related Project
40
 ## Related Project
41
 
41
 
@@ -45,11 +45,11 @@ This project is based on `webpack4` development. If you want to use `webpack3` d
45
 
45
 
46
 ### Element-Ui using cdn tutorial
46
 ### Element-Ui using cdn tutorial
47
 
47
 
48
-First find `index.html`([root directory](https://github.com/PanJiaChen/vueAdmin-template/blob/element-ui-cdn/index.html))
48
+First find `index.html`([root directory](https://github.com/PanJiaChen/vue-admin-template /blob/element-ui-cdn/index.html))
49
 
49
 
50
 Import css and js of `Element`, and then import vue. Because `Element` is vue-dependent, vue must be import before it.
50
 Import css and js of `Element`, and then import vue. Because `Element` is vue-dependent, vue must be import before it.
51
 
51
 
52
-Then find [webpack.base.conf.js](https://github.com/PanJiaChen/vueAdmin-template/blob/element-ui-cdn/build/webpack.base.conf.js)
52
+Then find [webpack.base.conf.js](https://github.com/PanJiaChen/vue-admin-template /blob/element-ui-cdn/build/webpack.base.conf.js)
53
 Add `externals` to make webpack not package vue and element.
53
 Add `externals` to make webpack not package vue and element.
54
 
54
 
55
 ```
55
 ```
@@ -67,12 +67,12 @@ And you can use `npm run build --report` to see the effect
67
 Pictured:
67
 Pictured:
68
 ![demo](https://panjiachen.github.io/images/element-cdn.png)
68
 ![demo](https://panjiachen.github.io/images/element-cdn.png)
69
 
69
 
70
-**[Detailed code](https://github.com/PanJiaChen/vueAdmin-template/commit/746aff560932704ae821f82f10b8b2a9681d5177)**
70
+**[Detailed code](https://github.com/PanJiaChen/vue-admin-template /commit/746aff560932704ae821f82f10b8b2a9681d5177)**
71
 
71
 
72
-**[Branch](https://github.com/PanJiaChen/vueAdmin-template/tree/element-ui-cdn)**
72
+**[Branch](https://github.com/PanJiaChen/vue-admin-template /tree/element-ui-cdn)**
73
 
73
 
74
 ## License
74
 ## License
75
 
75
 
76
-[MIT](https://github.com/PanJiaChen/vueAdmin-template/blob/master/LICENSE) license.
76
+[MIT](https://github.com/PanJiaChen/vue-admin-template /blob/master/LICENSE) license.
77
 
77
 
78
 Copyright (c) 2017-present PanJiaChen
78
 Copyright (c) 2017-present PanJiaChen

+ 1 - 1
config/index.js

@@ -57,7 +57,7 @@ module.exports = {
57
      * then assetsPublicPath should be set to "/bar/".
57
      * then assetsPublicPath should be set to "/bar/".
58
      * In most cases please use '/' !!!
58
      * In most cases please use '/' !!!
59
      */
59
      */
60
-    assetsPublicPath: '/vueAdmin-template/', // If you are deployed on the root path, please use '/'
60
+    assetsPublicPath: '/vue-admin-template /', // If you are deployed on the root path, please use '/'
61
 
61
 
62
     /**
62
     /**
63
      * Source Maps
63
      * Source Maps