wasm-bindgen/examples/without-a-bundler
2019-03-05 12:32:40 -08:00
..
2019-03-05 08:00:47 -08:00
2019-03-04 09:11:23 -08:00
2019-03-05 12:32:40 -08:00

Without a Bundler

View documentation for this example online

You can build the example locally with:

$ cargo build --target wasm32-unknown-unknown --release
$ cargo run -p wasm-bindgen-cli --bin wasm-bindgen -- \
  ../../target/wasm32-unknown-unknown/release/without_a_bundler.wasm \
  --out-dir pkg \
  --browser

and then opening index.html in a browser should run the example!