core icon indicating copy to clipboard operation
core copied to clipboard

fix(compiler-core): compilation of slot v-if/else when preserve whitespace

Open pikax opened this issue 2 years ago • 2 comments

closes #6063 based on https://github.com/vuejs/core/pull/6124

Not exposing the whitespace option to the context because I don't think

// pseudo-node
SlotNode(vIf)
TextNode('')
SlotNode(vElse)

Is possible without the whitespace preserve, since it check for text content to be empty

pikax avatar Oct 20 '23 13:10 pikax