Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

ckissi's avatar

JetStream with Inertia , blade view error

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?

0 likes
1 reply
Sinnbeck's avatar

Show the view. Make sure that view does not load inertia

Please or to participate in this conversation.