File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -20,3 +20,6 @@ yarn-error.log*
20
20
* .sln
21
21
* .sw *
22
22
package-lock.json
23
+
24
+ .MockServer
25
+ yarn.lock
Original file line number Diff line number Diff line change
1
+ import { constantRouterMap } from '@/config/router.config'
1
2
import Vue from 'vue'
2
3
import Router from 'vue-router'
3
- import { constantRouterMap } from '@/config/router.config'
4
4
5
5
// hack router push callback
6
6
const originalPush = Router . prototype . push
@@ -14,6 +14,7 @@ Vue.use(Router)
14
14
const createRouter = ( ) =>
15
15
new Router ( {
16
16
mode : 'history' ,
17
+ base : '/ant-design-vue-pro' ,
17
18
routes : constantRouterMap
18
19
} )
19
20
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ const assetsCDN = {
40
40
41
41
// vue.config.js
42
42
const vueConfig = {
43
+ publicPath : '/ant-design-vue-pro' ,
43
44
configureWebpack : {
44
45
// webpack plugins
45
46
plugins : [
You can’t perform that action at this time.
0 commit comments