wasm-bindgen/examples/without-a-bundler
2021-05-10 07:08:17 -07:00
..
src Tweak introductory and deployment documentation. 2019-02-22 07:50:32 -08:00
build.sh Use wasm-pack build --target web for without-a-bundler example 2019-03-21 13:55:25 -07:00
Cargo.toml Bump to 0.2.74 2021-05-10 07:08:17 -07:00
index.html Improving wasm loading logic (#1996) 2020-02-11 08:58:42 -08:00
README.md be more precise how to open the example in the browser (needs serving) (#2108) 2020-04-28 13:16:17 -05:00

Without a Bundler

View documentation for this example online

You can build the example locally with:

$ wasm-pack build --target web

Then serve this directory in your favourite webserver and navigate to host:port to open the index.html in your browser:

# static server from https://crates.io/crates/https
http

# or use python
python2 -m SimpleHTTPServer
python3 -m http.server