mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 06:44:17 +00:00
8c5ab99fa7
* build(examples): pull up compile tasks * build(examples): set toolchain for compiles tasks * build(examples): set toolchain for build and check * build(examples): set toolchain of other examples |
||
---|---|---|
.. | ||
e2e | ||
src | ||
tests/web | ||
.gitignore | ||
Cargo.toml | ||
index.html | ||
Makefile.toml | ||
package.json | ||
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.