Support type="module" for JS files loaded from template v2 #2482

This commit is contained in:
Kijin Sung 2025-02-15 22:04:50 +09:00
parent 4bf4aca762
commit 5b575f9c30
2 changed files with 10 additions and 4 deletions

View file

@ -24,7 +24,7 @@
<!-- JS -->
@foreach (Context::getJsFile('head', true) as $js_file)
<script src="{!! $js_file['file'] !!}"></script>
<script src="{!! $js_file['file'] !!}"{!! $js_file['attrs'] !!}></script>
@endforeach
<!-- RSS -->