Mn cho mình hỏi mình truyền router trong laravel nhưng khi test trên localhost nó lại bị lỗi 404. Router là
Route::get('/', function () {
return view('welcome');
});
Route::get('index',[
'as'=>'trang-chu',
'uses'=>'PageController@getIndex'
]);
e