leptos/examples/counters_stable
2023-03-22 18:21:53 -04:00
..
src examples: remove duplicate console_error_panic_hook::set_once() calls (#692) 2023-03-17 16:27:24 -04:00
Cargo.toml chore: Upgrade console_log to stable (#724) 2023-03-22 18:21:53 -04:00
index.html Move the examples out of the workspace, and standardize naming. All of the SSR examples now work with cargo-leptos 2022-12-31 15:52:19 -08:00
Makefile.toml Add build-examples task to cargo make CI 2023-01-02 13:29:37 -05:00
README.md Fix a large number of small issues in docs (#386) 2023-01-26 21:44:01 -05:00

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.