Level 102
Show the view. Make sure that view does not load inertia
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I've installed Jetstream with Inertia. I'm trying to use standard blade view within the controller:
public function index()
{
$events = GameEvent::with('game')->limit(10)->orderBy('created_at')->get();
return view('index', ['events' => $events]);
}
}
But I'm getting the following error in the JS console:
Uncaught (in promise) TypeError: can't access property "dataset", l is null
Any idea how to solve this?
Please or to participate in this conversation.