Skip to content
This repository has been archived by the owner on Jan 7, 2022. It is now read-only.

Commit

Permalink
Fix demo webpack
Browse files Browse the repository at this point in the history
  • Loading branch information
mariomka committed Jan 20, 2018
1 parent f972692 commit 579096d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build/webpack.config.demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = {
output: {
path: path.resolve(__dirname, '../demo/dist'),
filename: 'app.js',
publicPath: path.resolve(__dirname, '../demo/dist/')
publicPath: '/dist/'
},

module: {
Expand Down Expand Up @@ -45,6 +45,7 @@ module.exports = {
extensions: ['.js', '.vue']
},
devServer: {
contentBase: path.resolve(__dirname, '../demo')
contentBase: path.resolve(__dirname, '../demo'),
watchContentBase: true
}
}

0 comments on commit 579096d

Please sign in to comment.