tailwind.config.js How to write and read? #19167
-
I searched for a long time but couldn't find the official document and media. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
If you are using Tailwind v4, you shouldn't need a |
Beta Was this translation helpful? Give feedback.
-
In Tailwind v4, you don’t usually need a |
Beta Was this translation helpful? Give feedback.
-
Even in v4, not everything is convenient to configure in CSS. For example we use the tailwind.config.js for typography plugin, where we disable generating some properties or even whole selectors (using null). @software-based-boy In v4, the configuration has to be loaded via |
Beta Was this translation helpful? Give feedback.
In Tailwind v4, you don’t usually need a
tailwind.config.js
file configuration happens right inside your CSS.