Introduction to Events in Livewire - Laravel Livewire Crash Course for Beginners

Поделиться
HTML-код
  • Опубликовано: 10 июл 2024
  • Special thanks to Hostinger for sponsoring this video. Hostinger is an incredible web hosting provider where you can set up shared hosting, cloud hosting, VPS hosting, email hosting, and SSL certificates. Hostinger has made a name for itself due to its fast load times, simplicity, free domains, and powerful servers. Here’s my affiliate link for 10% off: www.hostinger.com/dary
    In this tutorial, we're going to dive into Livewire events in Laravel. Livewire events provide a way for components to communicate and trigger actions based on user interactions or other events.
    🧑🏼‍💻 Need a Laravel agency?
    Do you need assistance with your next project in Laravel? Contact my Laravel agency for help: www.codewithdary.com
    📚 New Udemy Course
    If you're looking to level up your Laravel skills? My new course "Mastering Laravel 10 Query Builder, Eloquent & Relationships" is the perfect opportunity. Learn the essential tools and techniques for building robust and scalable web applications with Laravel: www.udemy.com/course/masterin...
    🔥 Resources
    - Twitter: / codewithdary
    - Instagram: / codewithdary
    - Blog: blog.codewithdary.com/
    - Patreon: www.patreon.com/user?u=30307830
    - GitHub: github.com/codewithdary
    - TikTok: / codewithdary
    ⌛Timestamps
    00:00 - Introduction
    01:08 - Firing Events
    01:55 - Listening to the Event
    03:10 - Adding Timestamps to the View
    03:50 - Adding a Update Button
    04:37 - Defining a Route
    #laravel #codewithdary #hostinger #livewire

Комментарии • 6

  • @LeonelLopezBorbon
    @LeonelLopezBorbon 8 месяцев назад +1

    🚀🚀🚀🚀🚀🚀

  • @Dzonka1
    @Dzonka1 7 месяцев назад +1

    Hi Dary, any idea why when I have placed route /tasks/update after /tasks/{task} - I have have always gotten 404? But when i placed it before /tasks/{task} then it passed?

    • @codewithdary
      @codewithdary  7 месяцев назад

      When defining routes, the routes are matched in the order they are defined. When a request is made, Laravel will try to match the URL with the defined routes from top to bottom. So the order you place them does matter

  • @vugarkhalil
    @vugarkhalil 8 месяцев назад

    Respect ❤❤❤❤❤❤❤