3 ms·
I mainly work in Svelte, and I use tailwind's @apply all the time in my local component. Mainly I get the benefits from setting the tailwind config file for th
by yawnxyz 4y ago
I mainly work in Svelte, and I use tailwind's @apply all the time in my local component.
Mainly I get the benefits from setting the tailwind config file for things that apply across my components.
Not all of my repeatable markup lives as utilities, e.g. <a> and <buttons> — I define those classes in the scss file. Oh yeah, combining scss and tailwind also gives lots of composability options