diff --git a/vue.config.js b/vue.config.js index 3e21ceb..e4e594f 100644 --- a/vue.config.js +++ b/vue.config.js @@ -27,6 +27,15 @@ module.exports = { // return options; // }); // }, + + chainWebpack: config => { + config.module + .rule('vue') + .use('vue-loader') + .tap(args => { + args.compilerOptions.whitespace = 'preserve' + }) + }, devServer: { contentBase: [ './public',