A template for creating a hydrating web application using Leptos, Axum and Tailwind CSS.
- cargo-leptos - version 0.1.5 or higher
- Tailwind CSS or Tailwind CSS binary
- If you want to use Mold for faster linking on Linux then rename
./cargo/mold_config.toml
to./cargo/config.toml
. - This template assumes a nightly Rust toolchain.
- Leptos is under rapid development so this project currently takes leptos dependencies from git rather than crates.io.
In two terminals...
./tw.sh watch
cargo leptos watch
./tw.sh build
cargo leptos build
This template is based on cargo-leptos example project & leptos hackernews-axum examples.