Upload Files | Livewire Course #30 | Urdu & Hindi
In this video, you will learn how to upload files in Livewire 3. We will also cover creating a column in the database if it doesn’t exist, setting up a custom disk, and previewing the image before uploading. The custom disk allows us to designate a new file upload location without the need to link storage with the public directory.
🧲 Timestamps:
00:00 – Introduction
00:32 – Create Database Column
01:39 – Setup Post Form Template
02:14 – Setup Post Controller
04:10 – Create Upload Disk
05:02 – Show Image In Post
06:07 – Preview Image before upload
06:49 – Upload with Original Name
07:20 – 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