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
• This Vue Mistake Was A...
👉Sign up for my mailing list and get neat stuff!
bit.ly/3Umk7sW
Check out Cloudinary - use my link
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!
mentors.to/erik
Links:
tailwindcss.com/docs/reusing-...
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
14 июл 2024