Closed martinszeltins closed 6 months ago
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 (https://github.com/primefaces/primevue/pull/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.
Thank you!
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 👇️
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