diff options
author | 2023-09-09 14:11:40 +0200 | |
---|---|---|
committer | 2023-09-09 14:11:40 +0200 | |
commit | 52da89ac531cdf93b0e74afdd5bf6ad366551f82 (patch) | |
tree | 452a9cf853e8faa8830747ce642fb969fe5e02aa /examples/todos/README.md | |
parent | e562544807b196dafac9195ea8137958698755e5 (diff) | |
download | iced-52da89ac531cdf93b0e74afdd5bf6ad366551f82.tar.gz iced-52da89ac531cdf93b0e74afdd5bf6ad366551f82.tar.bz2 iced-52da89ac531cdf93b0e74afdd5bf6ad366551f82.zip |
Add instructions to run web examples
Diffstat (limited to 'examples/todos/README.md')
-rw-r--r-- | examples/todos/README.md | 9 |
1 files changed, 8 insertions, 1 deletions
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/ |