Companion to the RiotJS Style Guide.
The purpose of the demos is to make the RiotJS Style Guide more understandable by providing practical examples.
You can view all demos:
- output-sum - calculates and displays the sum of a set of numbers.
- range-slider - with configurable min, max, step and event callbacks.
- todo-app - Riot's
<todo>
example in style guide format.
Alternatively, you can view the demos locally using npm run start
.
This starts a server on http://localhost:33667
("demos" in T9).
The source files of all demos are placed in src/
.
See CONTRIBUTING.md for guidelines and development scripts.