CSS Breaks only in Production (Next.js App Router + Tailwind) #5684
Labels
Resolution: Duplicate
Issue has already been reported or a pull request related to same issue has already been submitted
Describe the bug
I've imported Primereact into my Next.js 14 app router application according to this example nextjs-styled-tailwind and it's working great with the development server
npm run dev
but when running in production withnpm run build
thennpm run start
the CSS stops working despite everthing else (JS, Icons) working properly.Reproducer
https://github.com/ahmedwadod/next14-tw-pr-demo
PrimeReact version
10.2.1
React version
18.x
Language
ES5
Build / Runtime
Next.js
Browser(s)
Chrome 119.0.6045.123
Steps to reproduce the behavior
npm run build
npm run start
Expected behavior
On Dev (Expected):
On Prod (Not working):
The text was updated successfully, but these errors were encountered: