mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-07-02 14:11:32 +00:00
Rewrite the README using Webpack
Right now Webpack probably has the most mature support for loading wasm modules, so let's show off how to do that! Additionally this commits hello world as an example to the repository.
This commit is contained in:
5
examples/hello_world/index.js
Normal file
5
examples/hello_world/index.js
Normal file
@ -0,0 +1,5 @@
|
||||
const js = import("./hello_world");
|
||||
|
||||
js.then(js => {
|
||||
js.greet("World!");
|
||||
});
|
Reference in New Issue
Block a user