TailwindCSS not working
Answered
Clumber Spaniel posted this in #help-forum
Clumber SpanielOP
Hi, I just started my project and Tailwind doesn't work in my webapp. I use turbopack, shadcn(no components) & instrumentation.ts(if its relevant), any idea why it couldnt be working?i do have
in my globals.css which is then imported in root layout, i just cant apply any colors i.e.
@import "tailwindcss";
@import "tw-animate-css";
in my globals.css which is then imported in root layout, i just cant apply any colors i.e.
bg-red-500
in my pagesAnswered by Clumber Spaniel
damn the issue was that my middlewre was blocking static components :P
2 Replies
Clumber SpanielOP
(the styles are applied when seen through devtools but computed page doesnt have any styles)
Clumber SpanielOP
damn the issue was that my middlewre was blocking static components :P
Answer