I got it working now. In case anyone else runs into this.
The route definition was wrong:
Route::get('/tijd',[TijdController::class, 'show']);
And there was an error in the controller:
public function show() { return view('tijd',[ 'tijd' => 'test' ]); }
You can follow this line and fix it like :
Route::get('/tijd', [TijdController::class, "show"]);
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community