Skip to content

Tailwind styles are not being applied in Vite + React app #18260

Answered by Ysfmdht
Ysfmdht asked this question in Help
Discussion options

You must be logged in to vote

Ok, so I got to solve the problem in weird way. For some reason, tailwind v4 only works if I initialize git in the root directory. Can I report this as bug? I don't that's a good solution for it.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@wongjn
Comment options

wongjn Jun 9, 2025
Collaborator

Answer selected by Ysfmdht
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants