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
When I add this module to my modules array in nuxt.config.ts then I lose all typings for my components (for both local and 3rd party components). It shows that components have type of unknown. Before I add this module, everything works.
nuxt.config.ts 👇️
modules: [
+ '@nuxtjs/i18n', // This breaks all auto-import component typings (components not recognized anymore)
'@vueuse/nuxt',
'nuxt-primevue'
],
If I remove it from my modules array then everything works again.
Screenshot before adding the module (everything works): 👍️ 👇️
Screenshot after adding the module (type unknown): ❌ 👇️
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered:
Hmm, I'm pretty sure this is caused by the types provided by primevue. We ran into a similar issue some time ago, I'll see if I can open a PR to fix it on their end.
As you have noticed, I opened a PR (primefaces/primevue#5419) on their repo to resolve your issue, since this isn't caused by this module I'll close this issue.
I recommend opening an issue on their repo and referencing the PR (and this issue), as their PR template seems to require it, this may not be necessary anymore since they've added the PR to the next milestone.
As you have noticed, I opened a PR (primefaces/primevue#5419) on their repo to resolve your issue, since this isn't caused by this module I'll close this issue.
I recommend opening an issue on their repo and referencing the PR (and this issue), as their PR template seems to require it, this may not be necessary anymore since they've added the PR to the next milestone.
Environment
Stackblitz
Reproduction
https://stackblitz.com/github/martinszeltins/found-nuxt-components-issue?file=app.vue
Describe the bug
When I add this module to my modules array in nuxt.config.ts then I lose all typings for my components (for both local and 3rd party components). It shows that components have type of
unknown
. Before I add this module, everything works.nuxt.config.ts 👇️
modules: [ + '@nuxtjs/i18n', // This breaks all auto-import component typings (components not recognized anymore) '@vueuse/nuxt', 'nuxt-primevue' ],
If I remove it from my modules array then everything works again.
Screenshot before adding the module (everything works): 👍️ 👇️
Screenshot after adding the module (type unknown): ❌ 👇️
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: