mirror of
https://github.com/yewstack/yew.git
synced 2025-12-08 21:26:25 +00:00
* Add links to the sidebar.
* Remove unnecessary `page-ref`s (these links are now in the sidebar).
* Small grammar/style fix.
* Fix code tabs.
* Remove {% page-ref %} uses.
* Fix some line lengths.
* Split out `custom.css` into multiple files.
* Remove duplicate titles.
612 B
612 B
| id | title |
|---|---|
| cargo-web | Using cargo-web |
Cargo web is a cargo subcommand for building client web apps. It makes building and deploying web applications incredibly easy. It is also the only toolchain that supports Emscripten targets. Read more here.
Install
cargo install cargo-web
Build
cargo web build
Run
cargo web start
Supported Targets
wasm32-unknown-unknownwasm32-unknown-emscriptenasmjs-unknown-emscripten
:::note
For *-emscripten targets, you'll need to install the Emscripten SDK
:::