Can't get v4 to work with PostCSS #15476
-
I'm trying to use Tailwind V4 in combination with PostCSS with Angular but have no luck getting it to work. I created a brand new Angular project with the cli and tried both of the following with no luck
I also tried other things I encountered in issues
When I run the Tailwind CLI I do see correctly compiled css ( It seems that PostCSS is not triggered with the Did anyone else experience this or perhaps an idea how to resolve it? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You need This is how my
|
Beta Was this translation helpful? Give feedback.
-
Thanks for your reply. |
Beta Was this translation helpful? Give feedback.
You need
tailwind.config.js
in your root directory. Even though for tailwind 4 it is not needed, but for Angular to work with tailwind, you still need it.This is how my
tailwind.config.js
looks like