Open
Description
Version
2.6.10
Reproduction link
https://codesandbox.io/s/vue-template-9r28t
Steps to reproduce
Visit the repo and check out the template compilation error for App.vue
. Remove the <template v-else>
to get rid of the error.
What is expected?
The template compiles properly
What is actually happening?
The template doesn't comiple
Vue should allow to use slots inside a template tag that is inside component. Without this, the new slot syntax severely limits how one can put content into slots in more complex scenarios and forces repeating yourself on multiple template tags.