primefaces / primevue

Next Generation Vue UI Component Library
https://primevue.org
MIT License
9.26k stars 1.13k forks source link

PrimeVue4 does not work with Nuxt3 #6004

Closed ghost closed 1 month ago

ghost commented 1 month ago

Describe the bug

When setting up a new Nuxt project and doing the PrimeVue setup accourding to the instructions and adding the button, it does not appear as intended.

Bildschirmfoto 2024-07-02 um 20 55 45

Reproducer

-

PrimeVue version

4.0.0-rc.2

Vue version

3.x

Language

TypeScript

Build / Runtime

Nuxt

Browser(s)

Chrome 126

Steps to reproduce the behavior

  1. Init a new Nuxt project using npx nuxi@latest init primevuetest
  2. cd primevuetest
  3. npm install primevue@4.0.0-rc.2
  4. npm install --save-dev @primevue/nuxt-module@4.0.0-rc.2
  5. Add to nuxt config modules: ['@primevue/nuxt-module']
  6. npm run dev

Expected behavior

It's expected that the button appears styled as in the documentation.

tugcekucukoglu commented 1 month ago

Theming section might be helpful.