Can you check if the classes are even there on your production server? Maybe you're purging the css wrong?
Apr 22, 2021
3
Level 3
Tailwind.css breakpoints not working
Using TailwindCSS for a site but running into a strange problem. Locally everything works perfectly.
The trouble arrises when I push my code to production using Forge. For some reason conditional styles based on breakpoints are not working, though all other classes work fine.
Not sure what could be the cause of this, but I would love any suggestions from more seasoned developers.
Please or to participate in this conversation.