iced/examples/counter
2025-02-21 01:37:14 +01:00
..
src Update all examples to Rust 2024 2025-02-21 01:37:14 +01:00
Cargo.toml Update all examples to Rust 2024 2025-02-21 01:37:14 +01:00
index.html Add index.html to counter example 2022-02-09 17:50:12 +07:00
README.md Add instructions to run web examples 2023-09-09 14:11:40 +02:00

Counter

The classic counter example explained in the README.

The main file contains all the code of the example.

You can run it with cargo run:

cargo run --package counter

The web version can be run with trunk:

cd examples/counter
trunk serve