Tiny index.html for a webserver to host the WASM
The webserver needs to serve an HTML document, which needs to load the loader JS (from WASM bindgen), which loads the WASM file. This page is about as small as it can be while still functioning. I'm not interested in doing web page stuff right now, so this will have to do.
This commit is contained in:
9
index.html
Normal file
9
index.html
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<body style="margin: 0px;">
|
||||||
|
<script type="module">
|
||||||
|
import init from "./chaos-game-rs.js"
|
||||||
|
init();
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
Reference in New Issue
Block a user