preserveWhitespace=false not work in Nuxt2
herrdu opened this issue · comments
Herr Du commented
Steps to reproduce
Yesterday ,I update my project to Nuxt2.0 from Nuxt1.0.
I found the space between dom element has changed.
So , I set preserveWhitespace:false to vue-loader. But it's not working ?
What is expected ?
What is actually happening?
Herr Du commented
I have found the solution.
Add this to nuxt.config.js
loaders: { vue: { compilerOptions: { preserveWhitespace: false } } },