Struggling with Laravel + Vite @aarondfrancis
Struggling with Laravel + Vite  @aarondfrancis
Uploaded July 2024 | Updated September 2026, 33 minutes ago
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: twitter.com/aarondfrancis
LinkedIn: linkedin.com/in/aarondfrancis
Website: aaronfrancis.com - find articles, podcasts, courses, and more.

Featured in this episode:
Laravel Herd's share: herd.laravel.com/docs/1/advanced-usage/sharing-sites
Ngrok: 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
Struggling with Laravel + ViteBuilding w/ AISQLites WAL mode is fast fastVibe coding a visual email editor with AI, Laravel & VueThe Music Makers Podcast - 001 - Do Things, Tell PeopleLaravel Horizon: queue monitoring + configurationThe Music Makers Podcast - 029 - We Are Just Not Here AnymoreThe Music Makers Podcast - 038 - Winging ItStateful Serverless ExplainedNo more Docker for PHPI built a way to write PHP alongside your frontendSQL for fun and profit
Aaron Francis |

Struggling with Laravel + Vite

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER