I want to remove whitespace between tags of generated HTML from vue template. However, I did not find any way to do that after read doc and code.
It seems that vueify removed htmlMinifier from lib/compiler.js.
And I found there is an option preserveWhitespace of vue-tempalte-compiler, but in lib/template-compiler.js, vueCompiler does not take any options.....
var compiled = vueCompiler.compile(template) //missing options here.
Is that a bug or I missed something? Thanks for any help.
I want to remove whitespace between tags of generated HTML from vue template. However, I did not find any way to do that after read doc and code.
It seems that
vueify
removedhtmlMinifier
fromlib/compiler.js
. And I found there is an optionpreserveWhitespace
of vue-tempalte-compiler, but inlib/template-compiler.js
,vueCompiler
does not take any options.....Is that a bug or I missed something? Thanks for any help.