marine/web-runtime/index.html
2021-11-03 05:08:18 +03:00

17 lines
298 B
HTML

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