@apply is not working inside component styles.css. Is there a workaround for this?
@apply
Classes set up with apply should be created in the tailwind.css file after the @tailwind components; and before the @tailwind utilities;
@tailwind components;
@tailwind utilities;
Read more about it on the Tailwind docs.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
@apply
is not working inside component styles.css. Is there a workaround for this?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.