diff --git a/src/ServiceProvider.php b/src/ServiceProvider.php index b76bbf38..81cac8af 100644 --- a/src/ServiceProvider.php +++ b/src/ServiceProvider.php @@ -28,8 +28,8 @@ public function boot() protected function registerBladeDirective() { - Blade::directive('inertia', function () { - return '
'; + Blade::directive('inertia', function ($id = 'app') { + return '
'; }); }