What is it like, making a web app with yew.rs
- Install Rust
- Install Just task runner
brew install just
- Run the following to setup wasm dev environment on your local machine
rustup target add wasm32-unknown-unknown
cargo install trunk
Make sure everything above is done first ☝️.
To build and run server local: just
or just default
.
To generate a build without running the server: just build
And to build a release version: just release
All recipes are in justfile
.
All these tasks (currently) use Trunk WASM Web Application Bundler.