Skip to main content

Black Friday 2025! Only until December 1st: coupon FRIDAY25 for 40% off Yearly/Lifetime membership!

Read more here

Routing: Navigation Links and Posts Create Page

Premium
6:55

The Full Lesson is Only for Premium Members

Want to access all of our courses? (29 h 14 min)

You also get:

54 courses
Premium tutorials
Access to repositories
Private Discord
Get Premium for $129/year or $29/month

Already a member? Login here

Comments & Discussion

E
Eric ✓ Link copied!

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

PK
Povilas Korop ✓ Link copied!

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.

N
nick ✓ Link copied!

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...

JN
Jemmeli Nejmeddine ✓ Link copied!

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
Povilas Korop ✓ Link copied!

I have a text-form updated course for Vue 3 + Laravel 10 + Vite, maybe will be clearer for you: