wasm-bindgen/examples/fetch/README.md
2020-04-15 00:36:33 +00:00

24 lines
474 B
Markdown

# The `fetch` API
[View documentation for this example online][dox] or [View compiled example
online][compiled]
[compiled]: https://rustwasm.github.io/wasm-bindgen/exbuild/fetch/
[dox]: https://rustwasm.github.io/docs/wasm-bindgen/examples/fetch.html
You have to use:
```
$ npm install
```
before running an `npm` package.
You can build the example locally with:
```
$ npm run serve
```
and then visiting http://localhost:8080 in a browser should run the example!