Skip to main content

Text Version of the Lesson

These days, many applications are built as single-page applications (SPA). Livewire v3 offers this experience, with wire:navigate syntax.

It is heavily used in the Livewire Starter Kit, which we will cover in the next section, so here's a quick lesson for you to understand the wire:navigate.


Basic Usage

To use this feature, you just need to add a wire:navigate directive to the navigation links. For example, if we have a couple of routes.

Route::get('posts', \App\Livewire\ShowPosts::class);
Route::get('posts/create', \App\Livewire\CreatePost::class);
Route::get('users', \App\Livewire\ShowUsers::class);

Then we add wire:navigate to each...

The Full Lesson is Only for Premium Members

Want to access all of our courses? (30 h 09 min)

You also get:

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

Already a member? Login here

Comments & Discussion

No comments yet…

We'd Love Your Feedback

Tell us what you like or what we can improve

Feel free to share anything you like or dislike about this page or the platform in general.