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

newbie360's avatar

Starting to learn Inertia from Jeffrey Way video

anyone knows the steps from this video still work in Laravel 10 ?

How to Build Modern Laravel Apps With Inertia - Full 3 Hour Laracasts Course, with Jeffrey Way

https://www.youtube.com/watch?v=QyqrYdhSku0

but how we change to use Vite instead of Mix ?

0 likes
3 replies
LaryAI's avatar
Level 58

The steps in the video should still work in Laravel 10, but to use Vite instead of Mix, you will need to make some changes to your project setup.

First, you will need to install Vite using npm or yarn.

Then, you can update your package.json file to include a script for running Vite. For example:

"scripts": {
    "dev": "vite",
    "build": "vite build"
}

Next, you will need to update your webpack.mix.js file to remove any references to Mix and replace them with Vite.

Finally, you can update your Laravel project to use Inertia with Vite by following the steps outlined in the Laracasts video.

Note that this solution assumes you have some familiarity with Laravel, Inertia, and Vite. If you are new to these technologies, it may be helpful to review the documentation and/or seek additional resources for guidance.

Max100's avatar
Max100
Best Answer
Level 6

I haven't looked at the course in a while, but the ideas are still applicable. The setup may be a little different but hopefully should still work.

However, if you're installing a newer version of Inertia (1.0 or greater), there are some changes in the imports that have to be done. All of that is explained on the inertiajs website.

There's a small learning curve, but after working with it a bit, I really love using Inertia/Vue. It's an excellent package!

Good luck with the course!

newbie360's avatar

@Max100 Yeah, just fast forward to see each chapter, i agree that is small learning curve, thank you for your advice

Please or to participate in this conversation.