yew/examples
Ross Harrison a94f6303a7
Bugfix: Load showcase stylesheets with include macro and style tag on example change (#992)
Bugfix: Loading showcase stylesheets into styletage allows styles for
different examples to be loaded after selection.
2020-03-05 00:14:24 +08:00
..
2020-03-01 10:43:54 +08:00
2020-03-01 10:43:54 +08:00
2019-07-30 00:51:18 -04:00
2020-02-22 14:32:41 +08:00

Yew Examples

Running the examples

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

cargo web start --features std_web

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

cargo web start --release --features std_web

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.