Skip to content

Commit f693b53

Browse files
committed
load script as module
1 parent 4fd20fe commit f693b53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/views/script.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
}
77
</style>
88
@endif
9-
<script>
9+
<script type="module">
1010
window._cookieSolution = @json($config);
1111
</script>
12-
<script defer src="{{ $scriptUrl }}"></script>
12+
<script type="module" src="{{ $scriptUrl }}"></script>
1313
@endif

0 commit comments

Comments
 (0)