Skip to content
Discussion options

You must be logged in to vote

Tailwind’s default setup doesn’t recognize dynamic class names like text-${color}-600 because it relies on class detection during build. To fix this, you can safeguard all potential colors by explicitly defining them in your code or in your tailwind.config.js file.

Replies: 2 comments 3 replies

Comment options

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

@Romerolweb
Comment options

Answer selected by krishp4telll
Comment options

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

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