Hi everyone,
I created a Next.js project with TailwindCSS and deployed it on Firebase, everything works fine there.
But when I export the project and run the files locally, Tailwind styles are not applied.
Here’s what I’ve tried:
-
Running
npm run devworks fine. -
Exported static files lose styling.
-
tailwind.config.jscontent paths seem correct. -
globals.cssis imported in_app.js.
Has anyone faced this issue before? How can I export/run Next.js + TailwindCSS project locally without losing styles?