How does one ensure that specific classes remain available even though they are not present at build time? #16950
Unanswered
mihaiconstantin
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Suppose you have an app that allows users to inject content at runtime (e.g.,
HTML
). Now assume you also want to give them the option to stylize that content using Tailwind. How can you ensure that those classes (i.e., or at least a reasonable subset) are included in theCSS
build? I am usingv4.0
, and the only solution I've found is to ditch Tailwind as a dependency and use a CDN. Surely, there must be a better way?Beta Was this translation helpful? Give feedback.
All reactions