Skip to content
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

CSS Breaks only in Production (Next.js App Router + Tailwind) #5684

Closed
ahmedwadod opened this issue Jan 4, 2024 · 1 comment
Closed

CSS Breaks only in Production (Next.js App Router + Tailwind) #5684

ahmedwadod opened this issue Jan 4, 2024 · 1 comment
Labels
Resolution: Duplicate Issue has already been reported or a pull request related to same issue has already been submitted

Comments

@ahmedwadod
Copy link

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 with npm run build then npm 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

  1. run npm run build
  2. run npm run start

Expected behavior

On Dev (Expected):
ntwpr-dev

On Prod (Not working):
ntwpr-prod

@ahmedwadod ahmedwadod added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Jan 4, 2024
@melloware
Copy link
Member

Duplicate of #5187

@melloware melloware marked this as a duplicate of #5187 Jan 4, 2024
@melloware melloware closed this as not planned Won't fix, can't repro, duplicate, stale Jan 4, 2024
@melloware melloware added Resolution: Duplicate Issue has already been reported or a pull request related to same issue has already been submitted and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Duplicate Issue has already been reported or a pull request related to same issue has already been submitted
Projects
None yet
Development

No branches or pull requests

2 participants