Skip to content

Commit

Permalink
Update Demo
Browse files Browse the repository at this point in the history
  • Loading branch information
harsima committed May 19, 2018
1 parent 6ff134e commit 3ee048a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Vue + ElementUI 后台管理系统框架

## **Demo**
[https://harsima.github.io/vue-backend](https://harsima.github.io/vue-backend)

## **相关教程**
- [Vue + ElementUI 手撸后台管理网站基本框架(零)前言篇](http://blog.csdn.net/harsima/article/details/77949609)
- [Vue + ElementUI 手撸后台管理网站基本框架(一)创建项目](http://blog.csdn.net/harsima/article/details/77949623)
Expand Down
2 changes: 1 addition & 1 deletion build/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ exports.cssLoaders = function(options) {
return ExtractTextPlugin.extract({
use: loaders,
fallback: 'vue-style-loader',
publicPath: '/'
publicPath: '../../'
})
} else {
return ['vue-style-loader'].concat(loaders)
Expand Down
2 changes: 1 addition & 1 deletion config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module.exports = {
index: path.resolve(__dirname, '../dist/index.html'),
assetsRoot: path.resolve(__dirname, '../dist'),
assetsSubDirectory: 'static',
assetsPublicPath: '/',
assetsPublicPath: './',
productionSourceMap: false,
// Gzip off by default as many popular static hosts such as
// Surge or Netlify already gzip all static assets for you.
Expand Down
2 changes: 1 addition & 1 deletion src/router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ NProgress.configure({ showSpinner: false });
Vue.use(VueRouter)

const router = new VueRouter({
mode: 'history',
mode: 'hash',
routes: staticRoute
})

Expand Down

0 comments on commit 3ee048a

Please sign in to comment.