Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Randy_Johnson's avatar

Setting up Laravel IneriaJS VueJS isn't correct on Docs. Here how!

The documentation for Inertia is incorrect, save yourselves the headache and follow this set up guide.

https://www.youtube.com/watch?v=OwXrxt7iScw&ab_channel=JoshuaHeathcote
0 likes
11 replies
tykus's avatar

What happened with MainController???

thinkverse's avatar

It's more the Inertia documentation is outdated, not necessarily that it's incorrect. It has no sections for Laravel and Vite for instance. I think it's written for Laravel 8 and Mix. There are PRs for updating it, but the documentation hasn't been updated for almost a year. 🤷‍♂️

1 like
Sinnbeck's avatar

I know Taylor has made a complete rewrite that is meant to be released soon. Inertia is also planned to be taken over by the laravel team

1 like
martinbean's avatar

I started an Inertia project last week and got set up by following the docs. So maybe you could be more specific, @randy_johnson…?

1 like
Randy_Johnson's avatar

@martinbean Strange, you didn't get any errors with the Mix in the welcome.blade.php? or in the app.js Vite doesn't allow for require.

Maybe you can replicate it for me and send a video.

martinbean's avatar

@Randy_Johnson I’m fine. You’re the one that opened a post due to literally having issues though, and decided moaning on Laracasts was the best course of action.

treckstar's avatar

I've been using Inertia for a few weeks now with no issues. I am primarily using the Breeze package; however I have also used Jetstream. I've been through every install option using Breeze (Vue/React) with/without SSR, and also the standalone API with Next.js demo. I've run it on my local machine and on Forge as well. Can't say I have run into any breaking issues. Also, SSR works great for me using both dev, build, and running the SSR server with node.

I'd recommend checking out the Inertia demo app PingCRM if you are looking for another approach that isn't Breeze/Jetstream.

Lastly, I have noticed some documentation differences when browsing the Inertia site after clicking the Upgrade Guide on the homepage. So I can definitely agree that there is some new progress being made. :D

Good luck @randy_johnson

Please or to participate in this conversation.