From 579096ddb528e6a7db4c2ad157a13995f5c9a775 Mon Sep 17 00:00:00 2001 From: Mario Juarez Date: Sat, 20 Jan 2018 10:55:40 +0100 Subject: [PATCH] Fix demo webpack --- build/webpack.config.demo.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 } }