-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[PrimeVue V4.0.0-beta.1] Cannot find declaration file for module for Aura theme and Primeone base #5615
Comments
This duplicates #5521 |
Thanks a lot for your report! I'll fix it for the next release. |
Hello, We changed a lot of things related to theming API. Please try 4.0.0-rc.1. Also, I updated your sample; Doc; https://primevue.org/theming/styled/#theme Best Regards, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Typescript can't find declaration modules for "primevue/themes/primeone/aura", "primevue/themes/primeone" and definePreset() fails to import, because it says primevue/themes/index.d.ts is not a module.
Reproducer
https://stackblitz.com/edit/primevue-create-vue-issue-template-ydyslb?file=tsconfig.node.json,tsconfig.json,tsconfig.app.json,package.json,src%2FApp.vue,src%2Fmain.ts
PrimeVue version
4.0.0-beta.1
Vue version
3.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
npm run build
Expected behavior
The app should not fail to build when building.
The text was updated successfully, but these errors were encountered: