This commit is contained in:
T0b1
2023-04-28 20:41:36 +02:00
commit 8e26fa9ec7
17 changed files with 4393 additions and 0 deletions

13
www/test.html Normal file
View File

@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html>
<body>
<script type="module">
import init from "../pkg/rust_as.js";
let wasm = await init("../pkg/rust_as_bg.wasm");
console.log(wasm);
wasm.greet();
</script>
</body>
</html>