You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create an SFC with <template lang="pug"> and <script setup lang="ts">
Import a component
Use component in template
What is expected?
Imported component is rendered.
What is actually happening?
Imported component is not rendered, receive warning
[Vue warn]: Invalid vnode type when creating vnode: undefined
This seems to happen specifically when TypeScript and Pug are used together. As you can see in the reproduction, when <template><script setup lang="ts">, component renders, and when <template lang="pug"><script setup>, component renders. Only <template lang="pug"><script setup lang="ts"> seems to cause the issue.