You're Using Tailwind CSS The Wrong Way! A look at reuse.

You're Using Tailwind CSS The Wrong Way! A look at reuse.

6.240 Lượt nghe
You're Using Tailwind CSS The Wrong Way! A look at reuse.
Working with Tailwind CSS Utility Classes can be tricky. In this video I discuss a refactor I did, that wasn't right, and what I should have done better. 👉 Check out my last video on this Vue Mistake https://youtu.be/v6n-Q0CNq0Q?si=-YWr6DynmJif36SP 👉Sign up for my mailing list and get neat stuff! https://bit.ly/3Umk7sW Check out Cloudinary - use my link https://cld.media/programwitherik 👉 Need some help with a project, level up your skills, React, Next, Vue, or Nuxt? Check out my 1-on-1 mentoring! https://mentors.to/erik Links: https://tailwindcss.com/docs/reusing-styles 0:00 What is the Problem 01:03 Patterns first refactor 02:41 Additionall refactors? 04:03 What does Adam Wathan say? 05:20 So 4 tips from Adam 06:05 Split it into components 07:00 It's OK to repeat and HTML can be ugly