Fixed broken tutorial (#2531) (#2542)

* Changed dependency to yew = "0.19"

* Changed edition to 2021
This commit is contained in:
Andreas Atle 2022-03-23 04:42:51 -05:00 committed by GitHub
parent 62d78d0641
commit bbb7ded83e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -75,10 +75,10 @@ Update the files as follows:
[package]
name = "yew-app"
version = "0.1.0"
edition = "2018"
edition = "2021"
[dependencies]
+ yew = { git = "https://github.com/yewstack/yew/" }
+ yew = "0.19"
```
```rust ,no_run title="src/main.rs"