Target class [App\Http\Controllers\app\Http\controllers\ChatController] does not exist. code example
Example: Target class [App\Http\Controllers\EmployeeController] does not exist.
[PagesController::class, 'index']
[PagesController::class, 'index']