I have created a new laravel project with --auth, but HomeController hasn\'t been created. I have tried with composer require laravel/ui and php artisan ui vue --auth in an
The HomeController is not being created at the time of writing 29-Apr-2020 a quick workaround is to create it manually:
php artisan make:controller HomeController
and then fill it with the following code:
middleware('auth');
}
/**
* Show the application dashboard.
*
* @return \Illuminate\Contracts\Support\Renderable
*/
public function index()
{
return view('home');
}
}