3 ms·
Tailwind specifically recommends creating components with a JS framework that look like the former.
by lights0123 4y ago
Tailwind specifically recommends creating components with a JS framework that look like the former.
- ValentineC 4y agoAdding on: I'm still trying to grasp Tailwind myself, and I've found this video by one of Tailwind's creators to be quite useful in explaining the above comment. https://www.youtube.com/watch?v=ab8RePo5ZYU https://www.youtube.com/watch?v=ab8RePo5ZYU
- MonaroVXR 4y agoCan you point the right direction? Because I didn't read this from me the documents. Maybe it's in the beta docs?
- lights0123 4y agoHere's in v3, but it was added in the v1 docs: https://tailwindcss.com/docs/reusing-styles#extracting-components-and-partials https://tailwindcss.com/docs/reusing-styles#extracting-compo...