Update root template to force object syntax for props

This commit is contained in:
Jonathan Reinink 2019-04-04 09:54:15 -04:00
parent 2549033795
commit 0c23a9712c
1 changed files with 1 additions and 1 deletions

View File

@ -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>