3 ms·
It's not exactly easy either. In the end I'll be writing <PricingCard :price="product.price" /> anyway. All that Tailwind garbage will be nicely hidden inside
by kingofthehill98 3y ago
It's not exactly easy either.
In the end I'll be writing <PricingCard :price="product.price" /> anyway. All that Tailwind garbage will be nicely hidden inside the component.
- ehutch79 3y agoThat's fine. Saying it's redundant is 100% valid. That's not what the OP said. Saying it's because naming a class is hard is BS.
- Yiin 3y agoA great read on the topic: https://adamwathan.me/css-utility-classes-and-separation-of-concerns/ https://adamwathan.me/css-utility-classes-and-separation-of-...
- isleyaardvark 3y agoI need to bookmark that link, it's perfect.