Skip to content
This repository has been archived by the owner on Jul 25, 2024. It is now read-only.

fitzypop/yew_exp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Experiment Yew

What is it like, making a web app with yew.rs

Setup

  1. Install Rust
  2. Install Just task runner
    brew install just
  3. Run the following to setup wasm dev environment on your local machine
rustup target add wasm32-unknown-unknown
cargo install trunk

Run locally

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.

References