Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import only one component and remove typescript intelisense of others #55

Open
ThomasBerneHCSE opened this issue Feb 27, 2024 · 0 comments
Milestone

Comments

@ThomasBerneHCSE
Copy link

Hi, I installed primevue for only one component in a nuxt environment. I used the include key and a prefix put typescript keeps finding the default primevue exported components like the Calendar here. It looks like they are automatically exported by the library.

image

It works fine in the page as the calendar isn't found but is there a solution to hide intellisencse for others unwanted components?

image

@mertsincan mertsincan added this to the 4.x milestone May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants