We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3de401 commit 0a9af99Copy full SHA for 0a9af99
src/ServiceProvider.php
@@ -28,8 +28,8 @@ public function boot()
28
29
protected function registerBladeDirective()
30
{
31
- Blade::directive('inertia', function ($id = 'app') {
32
- return '<div id="'. $id .'" data-page="{{ json_encode($page) }}"></div>';
+ Blade::directive('inertia', function () {
+ return '<div id="app" data-page="{{ json_encode($page) }}"></div>';
33
});
34
}
35
0 commit comments