16 lines
402 B
Markdown
Raw Normal View History

# web-sys: DOM hello world
2018-03-21 08:26:00 -07:00
[View documentation for this example online][dox] or [View compiled example
online][compiled]
[compiled]: https://rustwasm.github.io/wasm-bindgen/exbuild/dom/
2019-05-26 16:43:00 +09:00
[dox]: https://rustwasm.github.io/docs/wasm-bindgen/examples/dom.html
2018-03-21 08:26:00 -07:00
You can build the example locally with:
2018-03-21 08:26:00 -07:00
```
$ npm run serve
2018-03-21 08:26:00 -07:00
```
and then visiting http://localhost:8080 in a browser should run the example!