Skip to content

Commit

Permalink
Tweak the JSON encoding for the importmap JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
tonysm committed Feb 13, 2022
1 parent 53b830e commit 67b1b4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/tags.blade.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script type="importmap" data-turbo-track="reload"@if ($nonce) nonce="{{ $nonce }}" @endif>
@js($importmaps)
@json($importmaps, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES)
</script>

@foreach ($preloadedModules as $preloadedModule)
Expand Down

0 comments on commit 67b1b4f

Please sign in to comment.