summaryrefslogtreecommitdiffstats
path: root/examples/counter
diff options
context:
space:
mode:
authorLibravatar Thomas <thomasbirke@gmx.de>2023-09-09 14:11:40 +0200
committerLibravatar Thomas <thomasbirke@gmx.de>2023-09-09 14:11:40 +0200
commit52da89ac531cdf93b0e74afdd5bf6ad366551f82 (patch)
tree452a9cf853e8faa8830747ce642fb969fe5e02aa /examples/counter
parente562544807b196dafac9195ea8137958698755e5 (diff)
downloadiced-52da89ac531cdf93b0e74afdd5bf6ad366551f82.tar.gz
iced-52da89ac531cdf93b0e74afdd5bf6ad366551f82.tar.bz2
iced-52da89ac531cdf93b0e74afdd5bf6ad366551f82.zip
Add instructions to run web examples
Diffstat (limited to 'examples/counter')
-rw-r--r--examples/counter/README.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/counter/README.md b/examples/counter/README.md
index 53243c24..18761bba 100644
--- a/examples/counter/README.md
+++ b/examples/counter/README.md
@@ -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/