6

How do you deal with mixing multiple .css and .js files into one which laravel mix used to do so far.

The new Laravel 9 comes with Vite.js installed and laravel mix removed. As the main function for which we mostly used laravel mix was to mix the files from the /resource folder into the /public folder (many files into one). How are you dealing with this or are you still using laravel mix along with Vite?

Karl Hill
  • 12,937
  • 5
  • 58
  • 95
MorganFreeFarm
  • 3,811
  • 8
  • 23
  • 46

1 Answers1

-4

They replace mix with vite... everything else is same.
Tip..

Create fresh laravel 9 proj...
Install jetstream with inertia..All sets up resources/js , resources/components , app.js ... Vue3.

Just db migrate ,artisan serve , and npm run dev ....
Sublan Mustafa
  • 199
  • 1
  • 6