vue-template-compiler: whitespace "preserve" option causes compiler error when using v-slot with v-if/v-else-if/v-else #9173
Labels
🔨 p3-minor-bug
Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.
scope: compiler
Vue version
3.3.4
Link to minimal reproduction
https://stackblitz.com/edit/vitejs-vite-hfaexh?file=src%2FApp.vue
Steps to reproduce
whitespace: "preserve"
option to compilerOptions invite.config.js
For example:
npm run dev
What is expected?
No compiler error
What is actually happening?
Compiler error: "v-else/v-else-if has no adjacent v-if or v-else-if"
System Info
No response
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: