Improve web example (#2115)
* Improve web example * Implement basic logger into the example webpage * Repace bash script with xtask * replace wasm-bindgen-cli with wasm-bindgen-cli-support * refactor * Move logic into external crate. * Remove CI changes * Review feedback
This commit is contained in:
parent
40f48cbeb4
commit
b7e7755edd
6 changed files with 63 additions and 13 deletions
|
|
@ -71,6 +71,8 @@ Winit provides the following features, which can be enabled in your `Cargo.toml`
|
|||
|
||||
#### WebAssembly
|
||||
|
||||
To run the web example: `cargo run-wasm --example web`
|
||||
|
||||
Winit supports compiling to the `wasm32-unknown-unknown` target with `web-sys`.
|
||||
|
||||
On the web platform, a Winit window is backed by a `<canvas>` element. You can
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue