Next.js Discord

Discord Forum

NextJS is overwriting tailwind css

Unanswered
Siberian posted this in #help-forum
Open in Discord
SiberianOP
course-selling-application-turbo-repo/apps/web/.next/static/css/app/layout.css this file inside .next directory is overwriting my TailwindCSS.
It's a turbo repo. I just installed tailwind css and wrote tailwind.config in apps/web. I have't created a separate package for it. I just added class names in /packages/ui components and it's work. But some time it's does not take effect the reason for that is .next/static/css/app/layout.css overwrite it.
What should be the optimal fix for this?
TaiilwindCSS inside apps/web does works correctly.
Inside apps/web it's a nextJS app router application.

Or you can tell me a better way to implement TailwindCSS in a turbo repo project. Which i don't know yet.

0 Replies