chore: add wasm console demo

This commit is contained in:
Sameh Abouel-saad
2025-05-26 13:22:42 +03:00
parent 1e52c572d2
commit 44b4dfd6a7
14 changed files with 1138 additions and 14 deletions

View File

@@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>WASM App Demo</title>
</head>
<body>
<h1>WASM App Demo</h1>
<script type="module">
import init, * as wasm from './wasm_app.js';
window.wasm = wasm;
init().then(() => {
console.log("WASM module loaded! Try window.wasm in the console.");
});
</script>
</body>
</html>