yew/examples
Justin Starry b4d5227e62
Clean up exported apis and doc visibility (#977)
* Clean up exported apis and doc visibility

* Remove unused ScopeHolder

* Change ComponentLink to alias of Scope

* cargo fmt
2020-02-29 19:58:07 +08:00
..
2019-07-30 00:51:18 -04:00
2020-02-22 14:32:41 +08:00
2020-02-09 18:00:13 +08:00

Yew Examples

Running the examples

To start an example, enter its directory and start it with cargo-web:

cargo web start

To run an optimised build instead of a debug build use:

cargo web start --release

The wasm32-unknown-unknown target will be used by default, which is Rust's native WebAssembly target. The Emscripten-based wasm32-unknown-emscripten and asmjs-unknown-emscripten targets are also supported if you tell the cargo-web to build for them using the --target parameter.