Can i create route for livewire functions like laravel?
Can I create multiple routes using one livewire? is it possible like the main laravel in Livewire?
Route::get('/login',Login::class)->name('login');
Route::get('/signup',[Login::class,'signup'])->name('signup');
First route is working. but the second one does not showing the livewire template
@learnwithmoin No. Livewire components are full page components. You should have separate components for separate routes.
It makes no sense to use a component named Login for a /signup route. You should have a Signup component for handling that route.
Please or to participate in this conversation.