Skip to content

Tailwindcss purges whitelisted tag #2470

Answered by adamwathan
ahoiroman asked this question in Help
Discussion options

You must be logged in to vote

Can you create a GitHub repository that reproduces the issue? What you've posted above works as I'd expect for me.

Also note that Tailwind preserves all base HTML elements by default as of v1.8.0, so you don't need to whitelist things like h3 anymore at all.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by ahoiroman
Comment options

You must be logged in to vote
1 reply
@simonswiss
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
3 participants