<component :is > fails to render component that extends a runtime template component #6249
Labels
❗ p4-important
Priority 4: this fixes bugs that violate documented behavior, or significantly improves perf.
🐞 bug
Something isn't working
Vue version
3.2.37
Link to minimal reproduction
https://stackblitz.com/edit/vitejs-vite-ksuhdx?file=src/components/HelloWorld.vue
Steps to reproduce
What is expected?
I have created a component
extendedComponent
that has the keyextends
to extend a compnent that uses a runtime template:And I am trying to render it with
<component :is="extendedComponent"></component>
.I expected that this would render baseComponentRuntimeTemplate's template in the app.
What is actually happening?
Nothing renders.
System Info
No response
Any additional comments?
It seems to work fine when the base component is an SFC, but if the base component uses a runtime template, it does not work.
I created the reproduction link on StackBlitz because I needed to enable runtime compilation of templates.
The text was updated successfully, but these errors were encountered: