You can find the steps outlined here: https://github.com/laravel/vite-plugin/blob/main/UPGRADE.md#migrating-from-vite-to-laravel-mix
It would be nice if there was an option to use mix if desired when installing a new Laravel app.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I am starting a new project, and just saw that laravel upgraded to using Vite instead of webpack. I am much more comfortable on webpack and prefer to use it instead. I've tried to install laravel mix manually, but whenever I do it doesn't run properly, I've also tried installing from an old laravel version (9.19.0) but when I try to install it via composer I am told there is no such version. Would appreciate any help on this. Thanks.
You can find the steps outlined here: https://github.com/laravel/vite-plugin/blob/main/UPGRADE.md#migrating-from-vite-to-laravel-mix
It would be nice if there was an option to use mix if desired when installing a new Laravel app.
Please or to participate in this conversation.