-
-
Notifications
You must be signed in to change notification settings - Fork 9k
Closed
Labels
has workaroundA workaround has been found to avoid the problemA workaround has been found to avoid the problemscope: compiler🔩 p2-edge-case
Description
Version
3.2.0-beta.3
Reproduction link
Steps to reproduce
- in App.vue, slot content span's condition is falsy, but template's condition is truthy
- span use the default slot, template use the a slot
- in Comp.vue, provide both default slot and a slot with fallback value
What is expected?
111 is rendered without warning
What is actually happening?
text 'slot a' is rendered with a error
(4:18) v-else/v-else-if has no adjacent v-if.
It can run in runtime compile, but it seems that can't run in the playground
ps: if we delete v-else it can run correctly
lidlanca
Metadata
Metadata
Assignees
Labels
has workaroundA workaround has been found to avoid the problemA workaround has been found to avoid the problemscope: compiler🔩 p2-edge-case