teambit / react-tailwind-env

An example of a custom react env with basic support for tailwindcss
9 stars 7 forks source link

Using tailwind @apply directive #7

Open yara-tle opened 3 years ago

yara-tle commented 3 years ago

Using tailwind @apply doesn't seem to work. Sometimes it's handy to move tailwind classes to the css file if there is too many of them.

https://tailwindcss.com/docs/extracting-components#extracting-component-classes-with-apply

GiladShoham commented 3 years ago

That's possible, I'll need to test it, but it might take some time