mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-26 15:01:07 +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.
15 lines
346 B
Markdown
15 lines
346 B
Markdown
# 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!
|