Change Authenticate to Livewire
I would like to change the Authenticate controllers and forms to livewire.
I'm very confused with the way Authenticate is coded.
My questions:
-
I removed Auth::routes() from routes/web.php I run php artisan route:list I still see the routes for login and register Why?
-
I tried something else and added a different route for login in my web.php
//Auth::routes()
Route::get('/login', [PagesController::class, 'index'])->name('login');
It still goes to the login page and not to the view called by PagesController@index.
I ran cache:clear that didn't help.
So what do I need to do to change these to Livewire?
I don't understand
How to I change the routes to work with Livewire? Do I just create my route in the web.php file and that will override the current routes?
Please or to participate in this conversation.