Skip to content

Struggling to enable dark: prefix, css rules for it loaded in browser #2882

Answered by simonswiss
Drillan767 asked this question in Help
Discussion options

You must be logged in to vote

Hey!

Is this still an issue?

Something looks wrong with your setup. You definitely should not import the dist version of Tailwind from the node_modules

Are you doing this because you had no styles without that line? If so, you are probably not setting PostCSS the right way.

Could you possibly share a code repo to have a look at?

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

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

Answer selected by simonswiss
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