- install wasm-pack or via cargo
cargo install wasm-pack
- run
wasm-pack build
to build your rust to./pkg
- run
npm install
to install all you need to get this into your browser - run
npm run serve
to start webpack - open http://localhost:8080
now go on and read https://rustwasm.github.io/wasm-bindgen/