If another site loads a script built by your Laravel app, switching to Vite can ...

@jclermont@phpc.social

If another site loads a script built by your Laravel app, switching to Vite can quietly break it. Here's the CORS gotcha we hit and how we fixed it. #php #laravel masteringlaravel.io/daily/2026