laravel 8 Target class [Barryvdh\Cors\HandleCors] does not exist. code example
Example: Target class [Barryvdh\Cors\HandleCors] does not exist.
#Add [Barryvdh\Cors\HandleCors] to $middlewareGroups in Kernel.php
'cors' => [
\Barryvdh\Cors\HandleCors::class,
],