Answer the question
In order to leave comments, you need to log in
Why laravel doesn't see route name?
There is a route code like this
Route::group(["prefix" => "/admin", "as" => "admin-"], function() {
Route::get("/", ["as" => "main", "uses" => "[email protected]"]);
Route::view("/vv", "about", ["name" => "vv"]);
});
Answer the question
In order to leave comments, you need to log in
With this code, you do not set a name, but pass data to the template.
In theory, the ->name method should work.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question