A CSR website template leveraging Leptos, Trunk and Tailwind
This template can be generated using cargo-generate
:
cargo generate git@github.com:lpnh/leptrun.git
For additional information, check its documentation
Install the Wasm target:
rustup target add wasm32-unknown-unknown
To check the installed targets:
rustup target list --installed
Install Trunk:
cargo install trunk --locked
For additional installation options, refer to the install section on Trunk's website
Install cargo-make:
cargo install --force cargo-make
For additional installation options, refer to the installation section on cargo-make repo
Feel free to leverage the tasks available in the Makefile.toml
.
Development
cargo make run-dev
Release
cargo make run-release
Updating gh-pages
branch
cargo make update-pages