News

Moving your Laravel App from Webpack to Vite

Published
Moving your Laravel App from Webpack to Vite image

Yesterday, we announced that Vite is now the default frontend asset bundler for new Laravel apps, and so far everyone can't believe how fast Vite is.

If you have an existing app and want to start using Vite today, here is a list of resources to help you get migrated.

Laravel Shift released a free Laravel Mix to Vite converter. This will be the easiest way to update since Shift will automate everything.

Laravel Vite Migration Guide - The official Laravel Vite plugin includes an in-depth migration guide.

Christoph Rumpel wrote a tutorial on moving a Laravel Webpack Project over to Vite.

Freek Van der Herten wrote a tutorial on making Vite and Valet play nice together.

creagia has a tutorial on Laravel Vite with Bootstrap and Sass.

All these community projects and tutorials are sure to help get you started working with Vite and to help you transition over to this bundler.

Eric L. Barnes photo

Eric is the creator of Laravel News and has been covering Laravel since 2012.

Filed in

Sponsored

laravelcloud logo
Laravel Cloud

Easily create and manage your servers and deploy your Laravel applications in seconds.

Visit Laravel Cloud

The latest

View all →
CPX: The Composer Package Executor for PHP image

CPX: The Composer Package Executor for PHP

Read article
Laravel AI SDK Adds Human-in-the-Loop Tool Approval image

Laravel AI SDK Adds Human-in-the-Loop Tool Approval

Read article
Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals image

Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals

Read article
Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs image

Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs

Read article
Blade Formatting in Laravel Pint image

Blade Formatting in Laravel Pint

Read article
Inertia DevTools Is Now on the Chrome Web Store image

Inertia DevTools Is Now on the Chrome Web Store

Read article