Delete Posts (with Authorization) | Livewire Course #45 | Urdu & Hindi
In this video, you will learn how to delete posts in Livewire 3. We will cover the process of deleting posts with user authorization and address the slug issue that might prevent the delete function from working due to string formatting.
🧲 Timestamps:
00:00 – Introduction
00:32 – Add Delete Button
00:59 – Delete Function
02:30 – Authorize Delete Policy
04:01 – Fix Delete problem (string)
04:57 – Post Ownership Test
05:19 – Wrong Slug Test
05:47 – 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