sal-modular/wasm_console_demo/index.html
2025-05-26 13:22:42 +03:00

17 lines
357 B
HTML

<!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>