this_algorithm/this_algorithm-wasm/index.html
2023-02-25 11:37:52 -05:00

16 lines
322 B
HTML

<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8" />
<title>hello-wasm example</title>
</head>
<body>
<script type="module">
import init, { greet } from "./pkg/this_algorithm_wasm.js";
init().then(() => {
greet("WebAssembly");
});
</script>
</body>
</html>