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.