Update readme for wasm

This commit is contained in:
Lauri Räsänen 2023-04-13 16:56:06 +03:00
parent fd591b3ee5
commit 43b4eaf5ab

View file

@ -48,11 +48,11 @@ Standalone:
cargo run --release cargo run --release
``` ```
WASM requires [miniserve](https://github.com/svenstaro/miniserve), or some other http server, such as `python3 -m http.server`. WASM requires:
For miniserve, see: - [wasm-pack](https://github.com/rustwasm/wasm-pack)
```sh - `cargo install wasm-pack`
./run-wasm.sh - [miniserve](https://github.com/svenstaro/miniserve), or some other http server, such as `python3 -m http.server`.
``` - For miniserve, see: `run-wasm.sh`
## References ## References
- [wgpu examples](https://github.com/gfx-rs/wgpu/blob/master/wgpu/examples) - [wgpu examples](https://github.com/gfx-rs/wgpu/blob/master/wgpu/examples)