Target kelas admin homecontroller tidak ada Laravel 8
Route::get('/home', 'App\Http\Controllers\HomeController@index')->name('home');
Snippets
Route::get('/home', 'App\Http\Controllers\HomeController@index')->name('home');
use App\Http\Controllers\UserController;
//this is for admin controllers like this
use App\Http\Controllers\Admin\UserController;