diff --git a/example/App.vue b/example/App.vue index 51919f872..64f33908d 100644 --- a/example/App.vue +++ b/example/App.vue @@ -1,21 +1,16 @@ - diff --git a/example/webpack.config.js b/example/webpack.config.js index 52d48b931..3c3b710ee 100644 --- a/example/webpack.config.js +++ b/example/webpack.config.js @@ -11,10 +11,6 @@ module.exports = { filename: 'bundle.js', publicPath: '/dist/' }, - devServer: { - stats: "minimal", - contentBase: __dirname - }, module: { rules: [ { @@ -46,15 +42,20 @@ module.exports = { } ] }, - resolveLoader: { - alias: { - 'vue-loader': require.resolve('../') - } - }, plugins: [ new VueLoaderPlugin(), new MiniCssExtractPlugin({ filename: '[name].css' }) - ] + ], + devServer: { + stats: "minimal", + contentBase: __dirname, + overlay: true + }, + resolveLoader: { + alias: { + 'vue-loader': require.resolve('../') + } + } }