summaryrefslogtreecommitdiffstats
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
parente562544807b196dafac9195ea8137958698755e5 (diff)
downloadiced-52da89ac531cdf93b0e74afdd5bf6ad366551f82.tar.gz
iced-52da89ac531cdf93b0e74afdd5bf6ad366551f82.tar.bz2
iced-52da89ac531cdf93b0e74afdd5bf6ad366551f82.zip
Add instructions to run web examples
-rw-r--r--examples/counter/README.md8
-rw-r--r--examples/todos/README.md9
2 files changed, 16 insertions, 1 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/
diff --git a/examples/todos/README.md b/examples/todos/README.md
index 852dd88d..5e42f166 100644
--- a/examples/todos/README.md
+++ b/examples/todos/README.md
@@ -14,7 +14,14 @@ You can run the native version with `cargo run`:
```
cargo run --package todos
```
-We have not yet implemented a `LocalStorage` version of the auto-save feature. Therefore, it does not work on web _yet_!
+
+The web version can be run with [`trunk`]:
+
+```
+cd examples/todos
+trunk serve
+```
[`main`]: src/main.rs
[TodoMVC]: http://todomvc.com/
+[`trunk`]: https://trunkrs.dev/