Add instructions to run web examples

This commit is contained in:
Thomas 2023-09-09 14:11:40 +02:00
parent e562544807
commit 52da89ac53
2 changed files with 16 additions and 1 deletions

View file

@ -13,4 +13,12 @@ You can run it with `cargo run`:
cargo run --package counter
```
The web version can be run with [`trunk`]:
```
cd examples/counter
trunk serve
```
[`main`]: src/main.rs
[`trunk`]: https://trunkrs.dev/