Skip to content

Color classes not working in TailwindCSS with Vite + React #18197

Answered by Amoo-Amir
Amoo-Amir asked this question in Help
Discussion options

You must be logged in to vote

After renaming vite.config.js to vite.config.mjs , Tailwind started working correctly.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@wongjn
Comment options

wongjn Jun 1, 2025
Collaborator

@Amoo-Amir
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by Amoo-Amir
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
Converted from issue

This discussion was converted from issue #18196 on June 01, 2025 20:55.