DEV Community

Discussion on: Using Tailwind in SASS with Gatsby JS

Collapse
 
tonoli profile image
Ignacio Tonoli

Hi Jake! Thanks for the tutorial! I followed the documentation and your advice too, but I want to create for instance a _button.scss file containing all my scss for button and use @apply. I have some truble with this error Tailwind CSS sees your CSS, as @apply can only be used for classes in the same CSS tree. Do you have any idea where this comes from?