Blaze serves also static index.html and bundle.js

This commit is contained in:
Guntis Smaukstelis
2023-05-14 21:27:57 +03:00
parent 3e41326f91
commit bbf1eb0c01
6 changed files with 28 additions and 16 deletions
+3
View File
@@ -0,0 +1,3 @@
window.onload = () => {
console.log("this comes from bundle.js")
}
+3 -1
View File
@@ -5,6 +5,8 @@
<title>WeatherTool</title>
</head>
<body>
<h1>Hello, Weather!</h1>
<h1>Hello, Weather!</h1>
<script type="text/javascript" src="./bundle.js"></script>
</body>
</html>