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? (36 h 00 min)

You also get:

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

Already a member? Login here

No comments yet…