mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-04 22:52:42 +03:00
.. | ||
src | ||
build.sh | ||
Cargo.toml | ||
index.html | ||
README.md |
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