How to migrate from Webpack to Vite in Laravel, Inertiajs, React, and TypeScript.

preview_player
Показать описание
Laravel has recently migrated from using Laravel Mix and Webpack to Vite for the compiling of frontend dependencies and assets. In this video, I will show you how to migrate an existing project from using Laravel Mix and Webpack to Vite. The project is an existing Laravel installation with Inertiajs, Reactjs, and Typescript.

Click here to subscribe

Reddit

Medium

Facebook

Twitter

LinkedIn

Github

#laravel #laraveltips #webdevelopment
Рекомендации по теме
Комментарии
Автор

Thanks Buddy.. You saved me from headache I am facing from last 3 hours to run inertia with vite

miscellaneousvideos
Автор

Hi Pixel Fix, can you do a vid on deployment to digital ocean? Thanks for your help!

charlesloehle
Автор

This guide should basically work for Laravel, Inertia and React without TypeScript as well, right?

djent_prog_core_guitarcovers
Автор

i need to up webpack to vite on laravel 8+ vue project bro please

labyaj
Автор

my app.tsx file still shows a squiggly line under import.meta.glob and hovering over it says "The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'" so I initialized a tsconfig.json and updated it with "module": "esnext" but still has the error

charlesloehle