Target class [App\Http\Controllers\Admin\CagetoryController] does not exist. working on local code example
Example: Target class [App\Http\Controllers\EmployeeController] does not exist.
[PagesController::class, 'index']
[PagesController::class, 'index']