Commit for this lesson: https://github.com/LaravelDaily/Laravel-Vue3-CRUD-Course-2022/commit/3dd91b5375552b4e48108188abe48e8e21050d96
Hi Povlias,
Great course, but with Vite as default This does not work as smooth as I expected. Is there an update?
Hope toe hear soon
Cheers,
Eric
I have released this free mini course with updates: https://laraveldaily.teachable.com/p/laravel-9-vite-vue-react
Unfortunately, I don't have that much free time to re-shoot all the course for Vite specifically.
In order to use vite to bundle your assets, simply put this line
@vite(['resources/js/app.js', 'resources/css/app.css'])
at the bottom of your head tags in dashboard.blade.php
provided of course, that you configured your vite.config.js properly...
this it was little bit complicated the transition from blade to view rootComponent hope you provide seperate video in future for this purpose and thak you a bunch <3
I have a text-form updated course for Vue 3 + Laravel 10 + Vite, maybe will be clearer for you: