Explorar o código

add module type

Sean Pomeroy %!s(int64=4) %!d(string=hai) anos
pai
achega
8ad90aee6b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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>