mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-24 06:00:51 +00:00
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.
346 B
346 B
Hello, World!
This directory is an example of using the #[wasm_bindgen]
macro to create an
entry point that's called from the browser and then displays a dialog.
You can build the example with:
$ ./build.sh
(or running the two commands on Windows manually)
and then opening up index.html
in a web browser should show a dialog!