aboutsummaryrefslogtreecommitdiffstats
path: root/vanilla/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'vanilla/index.html')
-rw-r--r--vanilla/index.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/vanilla/index.html b/vanilla/index.html
index 1cfea4f..c504f6f 100644
--- a/vanilla/index.html
+++ b/vanilla/index.html
@@ -40,7 +40,10 @@
</div>
</main>
</div>
- <script src="app.js"></script>
+ <script type="module">
+ import { init } from './app.js';
+ document.addEventListener('DOMContentLoaded', init);
+ </script>
</body>
</html> \ No newline at end of file