Nelze použít dovoz prohlášení mimo modul
<script type="module" src="main.js"></script>
nelze použít dovoz prohlášení mimo modul
//Add type=module to your index.js script tag (not just the package script tag)
<script type="module" src="./index.js"></script>
uzel.chyby js nelze použít import mimo modul
<script type="module" src="source.js"></script>