Closed phyng closed 3 years ago
This commit(https://github.com/underfin/vite-plugin-vue2/commit/ab62cce0569db1bd655816d828f4000faad310dd) break all my project UI, and the https://github.com/vuejs/vue/tree/dev/packages/vue-template-compiler#options is default to preserve, use preserve suitable for most projects.
preserve
I think as a vue plugin should respect the default value of vueTemplateOptions.
vueTemplateOptions
If anyone has a similar problem, you can temporarily use the following configuration:
createVuePlugin({ vueTemplateOptions: { compilerOptions: { whitespace: 'preserve' } } })
This commit(https://github.com/underfin/vite-plugin-vue2/commit/ab62cce0569db1bd655816d828f4000faad310dd) break all my project UI, and the https://github.com/vuejs/vue/tree/dev/packages/vue-template-compiler#options is default to
preserve
, usepreserve
suitable for most projects.I think as a vue plugin should respect the default value of
vueTemplateOptions
.