monorepo/kifu/hello-wasm/index.html

16 lines
363 B
HTML
Raw Normal View History

2023-04-20 13:40:59 +00:00
<!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/hello_wasm.js";
init().then(() => {
greet("WebAssembly");
});
</script>
</body>
</html>