Answer the question
In order to leave comments, you need to log in
Route login not defined .. What's the problem?
When I go to the main page or any page in Laravel, I get an error .. Login not defined .. The
request is sent as a get behind the view itself ..
What is the reason for the error specifically about the login?
Why does the error occur when going to any page?
This error in the browser appears with the first option.
This page isn’t working
localhost redirected you too many times.
Route::get('/login',['as'=>'login', function () {
return view('login');
}]);
Route::get('/login', function () {
return view('login');
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question