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 →
Laravel Auditor Audits Your App With Your Own AI Agent image

Laravel Auditor Audits Your App With Your Own AI Agent

Read article
A simple form builder that stays out of your way image

A simple form builder that stays out of your way

Read article
Laravel AI: Trace Agent Runs With Lifecycle Events image

Laravel AI: Trace Agent Runs With Lifecycle Events

Read article
Laravel AI: Get Raw HTTP Responses and Rate Limits image

Laravel AI: Get Raw HTTP Responses and Rate Limits

Read article
Agent Run Observability in Laravel AI SDK 0.11 image

Agent Run Observability in Laravel AI SDK 0.11

Read article
Debounced Queued Event Listeners in Laravel image

Debounced Queued Event Listeners in Laravel

Read article