yew/examples/counter/README.md
Tom Cavanaugh b9fb7a1abc
Update Counter example (#1812)
* Add stylesheet, comments

* Additional css tweaks

* Fir formatting

* Apply suggestions from code review

Co-authored-by: EC2 Default User <ec2-user@ip-172-31-51-38.ec2.internal>
Co-authored-by: Simon <simon@siku2.io>
2021-04-05 23:54:55 +02:00

466 B

Counter Example

Demo

A simple example of a counter which can be increased or decreased with the press of a button.

Running

Run a debug version of this application:

trunk serve

Run a release version of this application:

trunk serve --release

Concepts

Demonstrates the use of messages to update state.