skip to Main Content

Target class does not exist. Routing Prefix Laravel 9

I am learning Laravel 9, and I got a problem Target class [AdminDashboardController] does not exist. when using prefix routing. Is someone can help me to fix it? this code on routes/web: Route::prefix('admin')->namespace('Admin')->group(function(){ Route::get('/','DashboardController@index')->name('dashboard'); }); this code on AppHttpControllersAdminDashboardController: namespace…

VIEW QUESTION
Back To Top
Search