Skip to content

Why media queries are missing from my final file? #8506

Answered by adamwathan
gdarko asked this question in Help
Discussion options

You must be logged in to vote

Hey, this is because you haven’t safelisted the variants you want to generate. The docs explain all of this:

https://tailwindcss.com/docs/content-configuration#using-regular-expressions

What you’re doing here though is not how Tailwind is intended to be used and not a use case we really care to invest in supporting. You should be setting up your content configuration and having Tailwind generate classes based on what you are actually using in your templates.

Replies: 1 comment 1 reply

Comment options

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

Answer selected by gdarko
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 #8505 on June 02, 2022 22:44.