mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 06:44:17 +00:00
.. | ||
src | ||
Cargo.toml | ||
index.html | ||
Makefile.toml | ||
README.md |
Leptos Counters Example on Rust Stable
This example showcases a basic Leptos app with many counters. It is a good example of how to setup a basic reactive app with signals and effects, and how to interact with browser events. Unlike the other counters example, it will compile on Rust stable, because it has the stable
feature enabled.
Client Side Rendering
To run it as a client-side app, you can issue trunk serve --open
in the root. This will build the entire app into one CSR bundle.
If you don't have
trunk
installed, click here for install instructions.