Commit 0c23a971 by Jonathan Reinink

Update root template to force object syntax for props

1 parent 25490337
Showing 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>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!