Struggling with Laravel + Vite

Published: 16 July 2024
on channel: Aaron Francis
10,109
498

Laravel Herd has a nice `share` feature built in, but it doesn't handle Vite very well. Watch me fix that issue!

Follow Aaron:
Twitter:   / aarondfrancis  
LinkedIn:   / aarondfrancis  
Website: https://aaronfrancis.com - find articles, podcasts, courses, and more.

Featured in this episode:
Laravel Herd's share: https://herd.laravel.com/docs/1/advan...
Ngrok: https://ngrok.io/

Chapters:
00:00 - Introduction to the Bug and Problem
01:03 - Setting Up Ngrok Configuration
03:31 - Resolving Site Not Found Issue
04:47 - Handling Mixed Content Warnings
05:59 - Running Vite Dev Server
06:53 - Creating a Vite Tunnel with Ngrok
07:58 - Updating Hot Reload URL
08:59 - Automating the Process with a Laravel Command
10:40 - Implementing Hot File Watcher
14:54 - Adding Clean-Up Functions
19:43 - Implementing Signal Handling for Command Termination
24:03 - Creating a Custom Share Service Provider
27:13 - Implementing Share File to Track State
30:32 - Finalizing the Share Command
33:46 - Wrapping Up


Watch video Struggling with Laravel + Vite online without registration, duration hours minute second in high quality. This video was added by user Aaron Francis 16 July 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 10,109 once and liked it 498 people.