mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-17 23:11:23 +00:00
[Examples] Add WebRTC DataChannel example (#2131)
* Add WebRTC DataChannel example * Add guide * Fix format * Use webpack to build example
This commit is contained in:
15
examples/webrtc_datachannel/README.md
Normal file
15
examples/webrtc_datachannel/README.md
Normal file
@ -0,0 +1,15 @@
|
||||
# WebRTC DataChannel Example
|
||||
|
||||
[View documentation for this example online][dox] or [View compiled example
|
||||
online][compiled]
|
||||
|
||||
[compiled]: https://rustwasm.github.io/wasm-bindgen/exbuild/webrtc_datachannel/
|
||||
[dox]: https://rustwasm.github.io/wasm-bindgen/examples/webrtc_datachannel.html
|
||||
|
||||
You can build the example locally with:
|
||||
|
||||
```
|
||||
$ npm run serve
|
||||
```
|
||||
|
||||
and then visiting http://localhost:8080 in a browser should run the example!
|
Reference in New Issue
Block a user