xxxxxxxxxx
Target class [PagesController] does not exist.
xxxxxxxxxx
# ajouter le controller
use App\Http\Controllers\ProjectController;
Route::resource('/projects', ProjectController::class);
xxxxxxxxxx
Route::get('/test/{slug}', 'App\Http\Controllers\SlugController@show' );