Next.js Discord

Discord Forum

Custom not-found.js wont load tailwind styles

Answered
Morelet’s Crocodile posted this in #help-forum
Open in Discord
Morelet’s CrocodileOP
How i can do to load those tailwind classnames, i can with error.js but not-found.js nothing only plain
Answered by Thrianta
What version of Next are you using? I was previously using v13.4.10 and I had this exact issue until I upgraded to v13.4.12 and it seems to be fixed now.
View full answer

3 Replies

Thrianta
What version of Next are you using? I was previously using v13.4.10 and I had this exact issue until I upgraded to v13.4.12 and it seems to be fixed now.
Answer
this was a bug in nextjs where not-found doesn't take the root layout; it should be fixed now, upgrade to the latest version of nextjs
@Thrianta What version of Next are you using? I was previously using `v13.4.10` and I had this exact issue until I upgraded to `v13.4.12` and it seems to be fixed now.
Morelet’s CrocodileOP
same my friend 13.4.10, now I know for the next time, upgrade ðŸ«