mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 14:54:16 +00:00
cadd217078
* chore: update to axum 0.7 Removed http, since it's included in axum, and replaced hyper by http-body-util, which is a smaller. * chore: update samples to work with nre axum Missing sessions_axum_auth, pending PR merge. * chore: all dependencies update to axum 0.7 * chore: cargo fmt * chore: fix doctests * chore: Fix example that in reality doesn't use axum. Fixed anyway. * chore: more examples support for axum 0.7 * Small tweak |
||
---|---|---|
.. | ||
public | ||
src | ||
Cargo.toml | ||
index.html | ||
LICENSE | ||
Makefile.toml | ||
README.md | ||
rust-toolchain.toml | ||
style.css |
Leptos Hacker News Example with Axum
This example creates a basic clone of the Hacker News site. It showcases Leptos' ability to create both a client-side rendered app, and a server side rendered app with hydration, in a single repository. This repo differs from the main Hacker News example by using Axum as it's server.
Getting Started
See the Examples README for setup and run instructions.
Quick Start
Run trunk serve --open
or cargo leptos watch
to run this example.