Target class [App\Http\Controllers\FormController] does not exist. in laravel 8 code example
Example: Target class [App\Http\Controllers\EmployeeController] does not exist.
[PagesController::class, 'index']
[PagesController::class, 'index']