inertia-laravel icon indicating copy to clipboard operation
inertia-laravel copied to clipboard

Laravel has transitioned to Vite from Mix. The Inertia installation guide for Laravel is outdated.

Open bit-pax opened this issue 2 years ago • 5 comments

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.

bit-pax avatar Aug 15 '22 12:08 bit-pax

Do it! That would be lovely. While you are at it: maybe please update PingCRM as well?

herpaderpaldent avatar Aug 15 '22 15:08 herpaderpaldent

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.

CapitaineToinon avatar Aug 19 '22 16:08 CapitaineToinon

Waiting for the new documentation with vite

Atif-Bashir-1998 avatar Aug 30 '22 16:08 Atif-Bashir-1998

The Laravel documentation has a lot of information on how to get things running: https://laravel.com/docs/9.x/vite

rojtjo avatar Aug 30 '22 19:08 rojtjo

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.

image

bozsudo avatar Sep 05 '22 13:09 bozsudo

Docs for v1.0 fixes this. https://next.inertiajs.com/client-side-setup

jbrooksuk avatar Nov 25 '22 09:11 jbrooksuk

Docs for v1.0 fixes this. https://next.inertiajs.com/client-side-setup

You might mean: https://inertiajs.com/client-side-setup ?

tnup avatar Apr 29 '23 21:04 tnup

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.

jessarcher avatar Sep 08 '23 01:09 jessarcher