Laravel + Inertia + Vue: any JS error shows a blank page.
Any way to show JS errors on page (pretty screen, like Laravel errors for example)?
I'm too lazy to open the console every time 😢
Back
•
Yes (npm run dev). Very standard Laravel project too (L11). I added TypeScript though.
I don't remember ever seeing an error page, always going through the console. Is there supposed to be one?
•
In response to @mnapoli
I don’t know if it will help since I’ve never used Inertia, but make sure you properly set Vite HMR overlay to `true`: vitejs.dev/config/server-options.html#server-hmr