diff options
author | 2022-06-10 18:10:29 +0200 | |
---|---|---|
committer | 2022-06-10 18:12:54 +0200 | |
commit | 449bbb112e0c1e07c34cbf88786062c1ff7361c1 (patch) | |
tree | 3f44550baad97f24ee83fa24e476a638a6b16a7f | |
parent | 260bbc5690b921e678d02eeb7a558c48874544d0 (diff) | |
download | iced-449bbb112e0c1e07c34cbf88786062c1ff7361c1.tar.gz iced-449bbb112e0c1e07c34cbf88786062c1ff7361c1.tar.bz2 iced-449bbb112e0c1e07c34cbf88786062c1ff7361c1.zip |
Update web instructions of the `tour` example
-rw-r--r-- | examples/README.md | 5 | ||||
-rw-r--r-- | examples/tour/README.md | 9 |
2 files changed, 7 insertions, 7 deletions
diff --git a/examples/README.md b/examples/README.md index 137d134c..2b4919df 100644 --- a/examples/README.md +++ b/examples/README.md @@ -27,10 +27,6 @@ You can run the native version with `cargo run`: cargo run --package tour ``` -The web version can be run by following [the usage instructions of `iced_web`] or by accessing [iced.rs](https://iced.rs/)! - -[the usage instructions of `iced_web`]: https://github.com/iced-rs/iced_web#usage - ## [Todos](todos) A todos tracker inspired by [TodoMVC]. It showcases dynamic layout, text input, checkboxes, scrollables, icons, and async actions! It automatically saves your tasks in the background, even if you did not finish typing them. @@ -46,7 +42,6 @@ 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_! [TodoMVC]: http://todomvc.com/ diff --git a/examples/tour/README.md b/examples/tour/README.md index e7cd2d5c..731e7e66 100644 --- a/examples/tour/README.md +++ b/examples/tour/README.md @@ -23,6 +23,11 @@ You can run the native version with `cargo run`: cargo run --package tour ``` -The web version can be run by following [the usage instructions of `iced_web`] or by accessing [iced.rs](https://iced.rs/)! +The web version can be run with [`trunk`]: -[the usage instructions of `iced_web`]: https://github.com/iced-rs/iced_web#usage +``` +cd examples/tour +trunk serve +``` + +[`trunk`]: https://trunkrs.dev/ |