Slots | Laravel Blade Components

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

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

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

    @pkiorpes You are absolutely correct. My mistake should be as you said.
    class(['w-64 p-2 shadow']) }}>
    @isset($image)
    {{ $image }}
    @endisset
    @isset($title)
    attributes->class(['font-bold text-blue-500 text-sm']) }}>
    {{ $title }}
    @endisset
    @isset($body)
    attributes->class(['text-xs text-gray-400']) }}>
    {{ $body }}
    @endisset

  • @1337kaas
    @1337kaas 2 ปีที่แล้ว

    Thanks, learned a lot! I love that you show the real life examples. I understand the slots now:)

  • @lebohangmollo2653
    @lebohangmollo2653 2 ปีที่แล้ว

    Thanks a lot, really nice structure and flow to the series.

    • @AngelJayAcademy
      @AngelJayAcademy  2 ปีที่แล้ว

      @Lebohang Molla Thank you really appreciate it😃

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

    Great content! Thank you!

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

    Hello, I have a question: is it possible to use slots to send specific styles from a child view to an app.layout, or is it better to use the yield and section directives?

  • @ИванТихонов-л8ы
    @ИванТихонов-л8ы 2 ปีที่แล้ว +1

    Wow! Man! You are amazing! Thank you!

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

    Thank you very much for the very informative lessons. How about showing us little bit of the customization to default admin page by adding a sidebar and changing navigation menu from top to sidebar. I am very interest to see how to customize the default admin layout to our old favorite bootstrap style admin panel.

    • @AngelJayAcademy
      @AngelJayAcademy  3 ปีที่แล้ว

      @David Son Ok Will see what I can do. Probably would not go as far as the admin panel. The next episodes will be practical things you can do with blade components.

    • @davidsonzed
      @davidsonzed 3 ปีที่แล้ว

      @@AngelJayAcademy this guy already did it.... th-cam.com/video/unX90THjE3I/w-d-xo.html

    • @AngelJayAcademy
      @AngelJayAcademy  3 ปีที่แล้ว

      @David Son I have huge respect for that channel and the work they do. You can learn a lot from them. On the other hand will see what I can do

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

      @@AngelJayAcademy I believe you do the same or a better job in explaining the subject in a much easier way to understand. this is the reason I visit your channel(s) every now and then.

    • @AngelJayAcademy
      @AngelJayAcademy  3 ปีที่แล้ว

      @@davidsonzed Thank you that for me is a huge compliment, really appreciate it.

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

    hello great day,, how can i add select in component with value option from the database? thank you ^_^

  • @leekaplan5285
    @leekaplan5285 3 ปีที่แล้ว

    Are you south african?!