Przeglądaj źródła

add module type

Sean Pomeroy 4 lat temu
rodzic
commit
8ad90aee6b
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      ui/src/index.html

+ 1 - 1
ui/src/index.html

@@ -7,6 +7,6 @@
     </head>
     <body>
         <div id="app" class="page-container"></div>
-        <script src="./app.js"></script>
+        <script src="./app.js" type="module"></script>
     </body>
 </html>