How can i fix Target class [indexController] does not exist error in Laravel 10
I want to use group function for root. But when I use the namespace in a function like Route::group(['namespace' => 'Admin'], function() { Route::get('/', [indexController::class, 'index']); }); I get errors of: Target class [indexController] does not exist. And I used…