livewire / volt

Volt is an elegantly crafted functional API for Livewire.
https://livewire.laravel.com/docs/volt
MIT License
327 stars 19 forks source link

Support for wire:navigate #16

Closed jesperbjoernandersen closed 1 year ago

jesperbjoernandersen commented 1 year ago

It would be great if you could build your entire applications, using volt components across the board. Unfortunately, it doesn't seem like wire:navigate is supposed, when returning volt components in your routes.

Right now I'm using a Route::get() and returning the volt in view(). Not sure if it's the correct way, but that wire:navigate doesn't work with that. Also, a more elegant way to define a "volt route" would be cool. Like Volt::get() or Route::volt()

nunomaduro commented 1 year ago

Ships on the next release.