Route Names and Middleware | Livewire Course #25 | Urdu & Hindi
In this video, you will learn how to use route names and middleware in Livewire 3. We will discuss why you cannot use __construct for middleware. Instead, you can use the mount function to check for guest middleware using the Auth facade.
🧲 Timestamps:
00:00 – Introduction
00:06 – Middleware
00:27 – Using __construct
00:51 – Fix Wrong Redirect
01:27 – Guest Directive
01:47 – Route Name
02:17 – Using Mount() Middlware
02:38 – Conclusion
🧲 Checkout our projects at GitHub:
🧲 VSCode:
● Font: Cascadia Code
● Theme: Obsidian Dark
🧲 Personal Tech Stack:
● Laravel, Livewire
● VueJs, NuxtJS
● MySQL, mongoDB, Pocketbase
● TailwindCSS
● LAMP Stack
● Linux, Virtualization, Proxmox
Please Ignore Negative Comments 🙂
[ad_2]
source