diff --git a/build/webpack.config.demo.js b/build/webpack.config.demo.js index 9755958..531986e 100644 --- a/build/webpack.config.demo.js +++ b/build/webpack.config.demo.js @@ -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: { @@ -45,6 +45,7 @@ module.exports = { extensions: ['.js', '.vue'] }, devServer: { - contentBase: path.resolve(__dirname, '../demo') + contentBase: path.resolve(__dirname, '../demo'), + watchContentBase: true } }