Ensure both cargo and [npm] are installed.
Make sure that wasm-pack is installed:
$ cargo install wasm-pack
Then run the following:
$ cd examples/basic && ./build.sh
Then navigate your browser to the local web server that was started.