File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 1
- #lepoard vue iview admin
1
+ #lepoard vue iview admin https://autors.github.io/vueleopard
2
2
## Version:v0.5
3
3
4
4
## Introduction
@@ -22,7 +22,7 @@ npm install
22
22
``` bush
23
23
npm run dev
24
24
```
25
- ### Production(Build)
25
+ ### Production(Build) ,and access: http://localhost:9528
26
26
``` bush
27
27
npm run build
28
28
```
@@ -84,6 +84,5 @@ server {
84
84
- home
85
85
![ ] ( readme_static/main.png )
86
86
87
-
88
87
## License
89
88
[ MIT] ( http://opensource.org/licenses/MIT )
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ module.exports = {
7
7
index : path . resolve ( __dirname , '../dist/index.html' ) ,
8
8
assetsRoot : path . resolve ( __dirname , '../dist' ) ,
9
9
assetsSubDirectory : 'static' ,
10
- assetsPublicPath : '. /' ,
10
+ assetsPublicPath : '/' ,
11
11
productionSourceMap : true ,
12
12
// Gzip off by default as many popular static hosts such as
13
13
// Surge or Netlify already gzip all static assets for you.
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ export const otherRouterMap = [
71
71
] ;
72
72
73
73
export default new Router ( {
74
- // mode: 'history', //后端支持可开
74
+ mode : 'history' , //后端支持可开
75
75
scrollBehavior : ( ) => ( { y : 0 } ) ,
76
76
routes : [
77
77
...constantRouterMap ,
You can’t perform that action at this time.
0 commit comments