mirror of
https://github.com/yewstack/yew.git
synced 2025-12-08 21:26:25 +00:00
init (#1000)
This commit is contained in:
parent
a4670fa80d
commit
532d6639f9
@ -22,9 +22,16 @@ cargo install cargo-web
|
||||
|
||||
#### Build
|
||||
|
||||
Either
|
||||
```bash
|
||||
cargo build --target wasm32-unknown-unknown
|
||||
cargo build --target wasm32-unknown-unknown --features web_sys
|
||||
```
|
||||
or
|
||||
```bash
|
||||
cargo build --target wasm32-unknown-unknown --features std_web
|
||||
```
|
||||
See more about features [here](https://docs.rs/yew/0.13.0/yew/#important-notes)
|
||||
|
||||
|
||||
#### Test
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user