Specify target to make example work (#1817)

* Update build-a-sample-app.md

The target needs to specified. The example won't work without it.

* Change word
This commit is contained in:
allan2 2021-04-17 15:28:05 -02:30 committed by GitHub
parent cc51208a48
commit 3e13321751
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -108,6 +108,11 @@ cargo install --locked trunk
cargo install wasm-bindgen-cli
```
Also specify the WASM target.
```
rustup target add wasm32-unknown-unknown
```
Now all you have to do is run the following:
```bash