I'm working on a Nuxt 3 project using Tailwind and PrimeVue.
It works perfectly for me when I use setting cssLayerOrder: 'primevue, tailwind-base, tailwind-utilities', but that config just works on dev (yarn dev) only (image 1).
When I deploy it into the server (yarn build && node .output/server/index.mjs) the CSS order not match with the config (image 2)
image 1 (match with the config, works in dev):
image 2 (not match with the config, not works in prod):
Do you guys have any idea about this? Thank you!
I'm working on a Nuxt 3 project using Tailwind and PrimeVue. It works perfectly for me when I use setting
cssLayerOrder: 'primevue, tailwind-base, tailwind-utilities'
, but that config just works on dev (yarn dev
) only (image 1). When I deploy it into the server (yarn build && node .output/server/index.mjs
) the CSS order not match with the config (image 2)