Skip to content
/ leptrun Public

A CSR website template leveraging Leptos, Trunk and Tailwind.

License

Notifications You must be signed in to change notification settings

lpnh/leptrun

Repository files navigation

🦀 leptrun

A CSR website template leveraging Leptos, Trunk and Tailwind

Generating the Template

This template can be generated using cargo-generate:

cargo generate git@github.com:lpnh/leptrun.git

For additional information, check its documentation

Setup

Compiling to WebAssembly

Install the Wasm target:

rustup target add wasm32-unknown-unknown

To check the installed targets:

rustup target list --installed

Trunk

Install Trunk:

cargo install trunk --locked

For additional installation options, refer to the install section on Trunk's website

Cargo-make

Install cargo-make:

cargo install --force cargo-make

For additional installation options, refer to the installation section on cargo-make repo

Usage

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