|
|
|
|
|
by arvindamirtaa
2045 days ago
|
|
> The right way to use Tailwind is to extract components, for example in Vue. That's not the full story. Using @apply is the only option if you're not using a component based JS framework like Vue or React. @aply works everywhere. The current documentation highlights this difference; showing both component extraction and using @apply as a failback when you want to go old school. |
|
But the right/ideal way to use Tailwind is to use components. That way you get the most dev ex that Tailwind can provide.