Install the dependencies with:
npm install
Then build the example locally with:
npm run serve
and then visiting http://localhost:8080 in a browser should run the example!
This example is loosely based off of this example, an example usage of fetch
from wasm-bindgen
, and from reqwest repo.