Update root template to force object syntax for props
This commit is contained in:
parent
2549033795
commit
0c23a9712c
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
|||
</head>
|
||||
<body class="font-sans leading-none text-grey-darkest antialiased">
|
||||
|
||||
<div id="app" data-component="{{ $component }}" data-props="{{ json_encode($props) }}"></div>
|
||||
<div id="app" data-component="{{ $component }}" data-props="{{ json_encode($props, JSON_FORCE_OBJECT) }}"></div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Reference in a new issue