Open ReWWeR opened 1 month ago
I'll try with dts: true
;
https://github.com/primefaces/primevue/blob/master/packages/nuxt-module/src/module.ts#L66
Indeed, auto-import stopped working properly when upgrading from version v4.0.0-rc3 to v4.0.0. Not only did the prefixes break, but also the styles.
Describe the bug
When added in nuxt.config prefix for component, then IDE doesn't see the new component name, it takes types from node_modules folder, where the names of the components are written without prefix.
Reproducer
https://stackblitz.com/edit/primevue-4-ts-vite-issue-template-csnodp?file=README.md
PrimeVue version
4.0.0
Vue version
4.x
Language
TypeScript
Build / Runtime
Nuxt
Browser(s)
No response
Steps to reproduce the behavior
nuxt.config
components: { prefix: 'Pv' }
.vue
file<pv-button label="Check 2" icon="pi pi-check" />
Expected behavior
IDE should take new type name