- rustup component add rust-docs
- rustup doc --std
- cargo doc --open
- trunk serve --port 3000 --proxy-backend=https://yew.rs/tutorial
- RUSTFLAGS=--cfg=web_sys_unstable_apis trunk serve --port 3000 --proxy-backend=https://yew.rs/tutorial
- Add this setting to VSCode:
"rust-analyzer.server.extraEnv": {
"RUSTFLAGS": "--cfg=web_sys_unstable_apis"
}