wheatjs / vite-plugin-vue-type-imports

Import types in Vue SFC for defineProps
223 stars 16 forks source link

Bug with isCustomElement nuxt 3 #14

Closed Archetipo95 closed 2 years ago

Archetipo95 commented 2 years ago

Hi guys, I noticed that I get a weird behaviour when I use this module in nuxt 3 and vidstack video player lib. I made 2 blitzstack examples one working without vite-plugin-vue-type-imports and one broken with vite-plugin-vue-type-imports. The only way I found to force it to work with ur module is to move the imports from ThePlayer.vue in app.vue.

Working: https://stackblitz.com/edit/github-4bboop Broken: https://stackblitz.com/edit/github-4bboop-qntiz3

If I can help in someway with more info tell me and I will try to provide them.

Zolyn commented 2 years ago

It should be fixed in v0.2.0