inertia-laravel
inertia-laravel copied to clipboard
Laravel has transitioned to Vite from Mix. The Inertia installation guide for Laravel is outdated.
There should definitely be an installation guide for Laravel using Vite instead of Laravel Mix. Older projects may still use Mix but more recent projects are using Vite.
Do it! That would be lovely. While you are at it: maybe please update PingCRM as well?
Would love some quick tldr on how to get it working with vite! I'm trying to use inertia for the first time and it took me about an hour to find this thread. So far I simply couldn't get anything to work.
Waiting for the new documentation with vite
The Laravel documentation has a lot of information on how to get things running: https://laravel.com/docs/9.x/vite
Not sure if this helps anyone but it's something I wish I had, would have saved me hours! I couldn't get my head around running npm run dev
alongside php artisan serve
simultaneously.
Docs for v1.0 fixes this. https://next.inertiajs.com/client-side-setup
Docs for v1.0 fixes this. https://next.inertiajs.com/client-side-setup
You might mean: https://inertiajs.com/client-side-setup ?
Hey there,
We're closing this issue because it's inactive, already solved, old or not relevant anymore. Feel to open up a new issue if you're still experiencing this problem.