Skip to content

Commit 444be69

Browse files
committed
update cong
1 parent 9ec105d commit 444be69

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#lepoard vue iview admin
1+
#lepoard vue iview admin https://autors.github.io/vueleopard
22
## Version:v0.5
33

44
## Introduction
@@ -22,7 +22,7 @@ npm install
2222
```bush
2323
npm run dev
2424
```
25-
### Production(Build)
25+
### Production(Build) ,and access:http://localhost:9528
2626
```bush
2727
npm run build
2828
```
@@ -84,6 +84,5 @@ server {
8484
- home
8585
![](readme_static/main.png)
8686

87-
8887
## License
8988
[MIT](http://opensource.org/licenses/MIT)

config/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module.exports = {
77
index: path.resolve(__dirname, '../dist/index.html'),
88
assetsRoot: path.resolve(__dirname, '../dist'),
99
assetsSubDirectory: 'static',
10-
assetsPublicPath: './',
10+
assetsPublicPath: '/',
1111
productionSourceMap: true,
1212
// Gzip off by default as many popular static hosts such as
1313
// Surge or Netlify already gzip all static assets for you.

src/router/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export const otherRouterMap = [
7171
];
7272

7373
export default new Router({
74-
// mode: 'history', //后端支持可开
74+
mode: 'history', //后端支持可开
7575
scrollBehavior: () => ({y: 0}),
7676
routes: [
7777
...constantRouterMap,

0 commit comments

Comments
 (0)