Skip to content

Conditional classes don't work with tailwind #1527

Answered by gbj
steckes asked this question in Q&A
Discussion options

You must be logged in to vote

Does it work if you do class=("text-6xl", true)? In any case it will just be a matter of needing to tweak the regexes that Tailwind is scanning your files for, but I'm not very experienced with Tailwind.

Replies: 1 comment 1 reply

Comment options

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

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