Refactoring To Flowbite

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 พ.ย. 2024

ความคิดเห็น • 6

  • @Tuto1902
    @Tuto1902 ปีที่แล้ว +1

    I gotta say: Hats off to you. I love your style of "Let's do it together live on camera". I really need to get better at just doing stuff instead of trying to plan everything to tedium, which usually leads me to a state of analysis paralysis. You're a great inspiration. Keep up the good work and the great content.

    • @LaravelOnline
      @LaravelOnline  ปีที่แล้ว +1

      Aww shucks :D Honestly, I always feel a bit foolish after hitting publish, like people deserve better quality from me - maybe more planning. I think witnessing someone face challenges in real time is essential to learning how to overcome our own challenges. Plus, I have a LOT to do on the website, it would take forever if I didn't do it this way!

  • @robwatson826
    @robwatson826 ปีที่แล้ว +2

    Hi Future Shane, there's an unfortunate limitation of tailwind - it can't read "variable classes" like this:
    $bg = 'primary';
    Because when Tailwind reads it, it'll try to create a class called "bg-{{ $bg }" (without the php processing), but when the page renders, the class is now called "bg-primary" (in this example) which wouldn't exist.

    • @LaravelOnline
      @LaravelOnline  ปีที่แล้ว

      I wouldn’t call it so much a limitation, well I guess it is. It’s a good thing to remember for the future.

  • @robwatson826
    @robwatson826 ปีที่แล้ว +1

    Also, kudos to you for knowing your date formatting characters off the top of your head. That's a solid google search for me every time as soon as I venture away from "Y-m-d H:i:s"

    • @LaravelOnline
      @LaravelOnline  ปีที่แล้ว

      Like I said this took years, it’s only been the last 6 months or so that I’ve had this memorized. 😂