git clone https://github.com/vazw/siamstr-signer.git
cd signer
By default, this template uses Rust nightly
and requires that you've installed the wasm
compilation target for your toolchain.
If you don't have Rust nightly, you can install it with
rustup toolchain install nightly --allow-downgrade
You can add the wasm
compilation target to rust using
rustup target add wasm32-unknown-unknown
trunk serve --port 3000 --open
will open your app in your default browser at http://localhost:3000
.
To build a Leptos CSR app for release, use the command
trunk build --release
This will output the files necessary to run your app into the dist
folder; you can then use any static site host to serve these files.
For further information about hosting Leptos CSR apps, please refer to the Leptos Book chapter on deployment available here.