Randy_Johnson's avatar

Tailwind.config.js?

Can anyone tell me where to find this file please, or am I to just create it in the root dir.

0 likes
2 replies
Tray2's avatar

Tailwind 4?

In that case you no longer need it, so there is no file.

1 like
simonswiss's avatar
Level 18

As @tray2 mentioned — if you're using Tailwind CSS v4, there is no JS config file by default. You can add one if you wish, but the recommended way to configure the Tailwind theme in v4 is directly in CSS.

You can find more information about how to customise that @theme here:

https://tailwindcss.com/docs/theme

Hope this helps!

1 like

Please or to participate in this conversation.