Comments & Discussion
JN
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
PK
I have a text-form updated course for Vue 3 + Laravel 10 + Vite, maybe will be clearer for you:
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...