Files
another-boids-in-rust/www/index.html
Robert Garrett 01c50e4bb6 Add an index.html file, taken from Bevy Cheatbook
https://bevy-cheatbook.github.io/platforms/wasm/webpage.html

I need a page to give the user, which loads some JS, which loads the
WASM file. The JS and WASM are both generated by the wasm-bindgen tool.
2025-09-03 17:04:43 -05:00

17 lines
340 B
HTML

<!doctype html>
<html lang="en">
<body style="margin: 0px;">
<script type="module">
import init from './boids.js'
init().catch((error) => {
if (!error.message.startsWith("Using exceptions for control flow, don't mind me. This isn't actually an error!")) {
throw error;
}
});
</script>
</body>
</html>