Add instructions to run web examples
This commit is contained in:
parent
e562544807
commit
52da89ac53
2 changed files with 16 additions and 1 deletions
|
|
@ -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/
|
||||
|
|
|
|||
|
|
@ -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/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue