primefaces / primevue-nuxt-module

MIT License
70 stars 11 forks source link

V4.0.0-beta.4 and primevue v4.0.0-beta.4 styled mode: Unable to Import theme. #68

Closed patriciorivera closed 1 month ago

patriciorivera commented 2 months ago

According docs: https://v4.primevue.org/nuxt/#importtheme

https://stackblitz.com/edit/nuxt-starter-tzwy7w?file=nuxt.config.ts

[worker reload] [worker init] Directory import '/home/projects/nuxt-starter-tzwy7w/node_modules/primevue/themes' is not supported resolving ES modules imported from /home/projects/nuxt-starter-tzwy7w/theme.js Did you mean to import primevue/themes/index.mjs?

ljcremer commented 1 month ago

I am having the same issues with imparting a theme

AndyLukac commented 1 month ago

Also having the same issue.

mertsincan commented 1 month ago

Please install and use @primevue/themes; https://stackblitz.com/edit/nuxt-starter-jqwq9r?file=package.json,theme.js,nuxt.config.ts

Best Regards,

xarthurx commented 1 month ago

Please install and use @primevue/themes; https://stackblitz.com/edit/nuxt-starter-jqwq9r?file=package.json,theme.js,nuxt.config.ts

Best Regards,

Please add it to the documentation. :)