mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-12 23:57:09 +00:00
dfd03d4f27
* fix(examples/counters): unexpected each item comment * fix(examples/errors_axum): format error * fix(examples/ssr_modes_axum): format error * fix(examples/ssr_modes_axum): unused import * build(examples/timer): add common tasks * fix(examples/timer) clippy error |
||
---|---|---|
.. | ||
public | ||
src | ||
Cargo.toml | ||
index.html | ||
Makefile.toml | ||
README.md | ||
rust-toolchain.toml |
Leptos Timer Example
This example creates a simple timer based on setInterval
in a client side rendered app with Rust and WASM.
To run it, just issue the trunk serve --open
command in the example root. This will build the app, run it, and open a new browser to serve it.
If you don't have
trunk
installed, click here for install instructions.