Theo's Typesafe CultTTC
Theo's Typesafe Cultโ€ข4y agoโ€ข
41 replies
Ben

Trying to get TailwindCSS working with Next13

So I am trying to get TailwindCSS working with NextJS 13. I've tried following all the steps from the docs(https://tailwindcss.com/docs/guides/nextjs), still no dice.

Also tried following this SO thread(https://stackoverflow.com/questions/74259178/how-can-i-apply-tailwind-css-in-app-folder-in-next-13) including moving global.css file from ./app to ./styles.

And then even tho it's not mentioned in the docs, I'm running npx tailwindcss -i ./styles/globals.css -o ./dist/output.css --watch since that seems like it might need to happen given some other docs I've read.

Any idea what could be going wrong?
Screen_Shot_2022-11-17_at_9.13.28_AM.png
Screen_Shot_2022-11-17_at_9.14.39_AM.png
Screen_Shot_2022-11-17_at_9.15.12_AM.png
Was this page helpful?