wasm-bindgen/examples/fetch/README.md

24 lines
474 B
Markdown
Raw Normal View History

# 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/
2019-05-26 10:43:00 +03:00
[dox]: https://rustwasm.github.io/docs/wasm-bindgen/examples/fetch.html
2020-04-15 03:36:33 +03:00
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!