This is a template repository to get started with leptos + leptodon inside an axum ssr environment.
- Click the green
Use this templatebutton and create a repo using this template. - Clone your repository
- Install cargo-leptos
cargo install --locked cargo-leptos - Run with
cargo leptos serve
npm install- Run tailwind's css generator
npx tailwindcss -i input.css -o style/output.css --watch
The starter should now be available on http://localhost:3000
- Uses leptos ssr, and based on https://github.com/leptos-rs/start-axum
- Rust stable version 1.92
- Tailwindv3
- Runs
cargo run codegento generate.tailwindfor tailwind's class generation. - Generates
src/generated_demolist.rscontaining a list of all demos to construct routes and sidebar entries programatically.- Allows for easy alfabetical sorting and reduces maintenance burden of adding/removing entries.