Tailwind css not working after export build in nextjs #52212
Answered
by
studentofmusk
studentofmusk
asked this question in
App Router
-
Recently, I switch to nextjs app router version But if i generate static build, my tailwind css classes are not working. I added next build && next export |
Beta Was this translation helpful? Give feedback.
Answered by
studentofmusk
Jul 6, 2023
Replies: 1 comment 12 replies
-
Hi, which Next.js version are you using? (it works for me in a recent test I just made) |
Beta Was this translation helpful? Give feedback.
12 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've got solution !
yarn start
isn't work for new versionsThen i used
npx serve@latest out
Now, I can see my site with tailwind css styles