DEV Community

Discussion on: Setting up Tailwind With create-react-app

Collapse
 
mwarapitiya profile image
Malindu Warapitiya

@apply is not working inside component styles.css. Is there a workaround for this?

Collapse
 
hagnerd profile image
Matt Hagner

Classes set up with apply should be created in the tailwind.css file after the @tailwind components; and before the @tailwind utilities;

Read more about it on the Tailwind docs.