1、laravel 报 Target class [xxx] does not exist解决方案
app->Providers->RouteServiceProvider
中
public const HOME = '/home';
/**
* The controller namespace for the application.
*
* When present, controller route declarations will automatically be prefixed with this namespace.
*
* @var string|null
*/
//protected $namespace = 'App\\Http\\Controllers';去掉注释即可
protected $namespace = 'App\\Http\\Controllers';
2、要及时composer update