Pan %!s(int64=6) %!d(string=hai) anos
pai
achega
3e5f9549a7
Modificáronse 3 ficheiros con 19 adicións e 19 borrados
  1. 9 9
      README-zh.md
  2. 9 9
      README.md
  3. 1 1
      config/index.js

+ 9 - 9
README-zh.md

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

+ 9 - 9
README.md

@@ -4,13 +4,13 @@
4 4
 
5 5
 **Live demo:** http://panjiachen.github.io/vue-admin-template
6 6
 
7
-[中文文档](https://github.com/PanJiaChen/vue-admin-template /blob/master/README-zh.md)
7
+[中文文档](https://github.com/PanJiaChen/vue-admin-template/blob/master/README-zh.md)
8 8
 
9 9
 ## Build Setup
10 10
 
11 11
 ```bash
12 12
 # Clone project
13
-git clone https://github.com/PanJiaChen/vue-admin-template .git
13
+git clone https://github.com/PanJiaChen/vue-admin-template.git
14 14
 
15 15
 # Install dependencies
16 16
 npm install
@@ -33,9 +33,9 @@ https://panjiachen.gitee.io/vue-element-admin-site/zh/guide/
33 33
 
34 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/vue-admin-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/vue-admin-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 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 46
 ### Element-Ui using cdn tutorial
47 47
 
48
-First find `index.html`([root directory](https://github.com/PanJiaChen/vue-admin-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 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/vue-admin-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 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 67
 Pictured:
68 68
 ![demo](https://panjiachen.github.io/images/element-cdn.png)
69 69
 
70
-**[Detailed code](https://github.com/PanJiaChen/vue-admin-template /commit/746aff560932704ae821f82f10b8b2a9681d5177)**
70
+**[Detailed code](https://github.com/PanJiaChen/vue-admin-template/commit/746aff560932704ae821f82f10b8b2a9681d5177)**
71 71
 
72
-**[Branch](https://github.com/PanJiaChen/vue-admin-template /tree/element-ui-cdn)**
72
+**[Branch](https://github.com/PanJiaChen/vue-admin-template/tree/element-ui-cdn)**
73 73
 
74 74
 ## License
75 75
 
76
-[MIT](https://github.com/PanJiaChen/vue-admin-template /blob/master/LICENSE) license.
76
+[MIT](https://github.com/PanJiaChen/vue-admin-template/blob/master/LICENSE) license.
77 77
 
78 78
 Copyright (c) 2017-present PanJiaChen

+ 1 - 1
config/index.js

@@ -57,7 +57,7 @@ module.exports = {
57 57
      * then assetsPublicPath should be set to "/bar/".
58 58
      * In most cases please use '/' !!!
59 59
      */
60
-    assetsPublicPath: '/vue-admin-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 63
      * Source Maps