File tree 4 files changed +6
-3
lines changed
4 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1
1
# Vue + ElementUI 后台管理系统框架
2
2
3
+ ## ** Demo**
4
+ [ https://harsima.github.io/vue-backend ] ( https://harsima.github.io/vue-backend )
5
+
3
6
## ** 相关教程**
4
7
- [ Vue + ElementUI 手撸后台管理网站基本框架(零)前言篇] ( http://blog.csdn.net/harsima/article/details/77949609 )
5
8
- [ Vue + ElementUI 手撸后台管理网站基本框架(一)创建项目] ( http://blog.csdn.net/harsima/article/details/77949623 )
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ exports.cssLoaders = function(options) {
50
50
return ExtractTextPlugin . extract ( {
51
51
use : loaders ,
52
52
fallback : 'vue-style-loader' ,
53
- publicPath : '/'
53
+ publicPath : '../.. /'
54
54
} )
55
55
} else {
56
56
return [ 'vue-style-loader' ] . concat ( loaders )
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ module.exports = {
9
9
index : path . resolve ( __dirname , '../dist/index.html' ) ,
10
10
assetsRoot : path . resolve ( __dirname , '../dist' ) ,
11
11
assetsSubDirectory : 'static' ,
12
- assetsPublicPath : '/' ,
12
+ assetsPublicPath : '. /' ,
13
13
productionSourceMap : false ,
14
14
// Gzip off by default as many popular static hosts such as
15
15
// Surge or Netlify already gzip all static assets for you.
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ NProgress.configure({ showSpinner: false });
41
41
Vue . use ( VueRouter )
42
42
43
43
const router = new VueRouter ( {
44
- mode : 'history ' ,
44
+ mode : 'hash ' ,
45
45
routes : staticRoute
46
46
} )
47
47
You can’t perform that action at this time.
0 commit comments