mirror of
https://github.com/fluencelabs/marine.git
synced 2025-03-16 06:20:49 +00:00
17 lines
298 B
HTML
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>
|