Skip to content

A template for creating a hydrating web application using Leptos, Axum and Tailwind CSS.

License

Notifications You must be signed in to change notification settings

phillipbaird/leptos-axum-start

Repository files navigation

Leptos-Axum-Start

A template for creating a hydrating web application using Leptos, Axum and Tailwind CSS.

Prerequisites

  • 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.

Warnings

  • Leptos is under rapid development so this project currently takes leptos dependencies from git rather than crates.io.

Usage

Development

In two terminals...

./tw.sh watch
cargo leptos watch

Release

./tw.sh build
cargo leptos build

References

This template is based on cargo-leptos example project & leptos hackernews-axum examples.

About

A template for creating a hydrating web application using Leptos, Axum and Tailwind CSS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published