A small example to show how widgets could be structured inside a Cycle.js application.
This example features
- two different widgets using the same file structure
- configurable widgets
- multiple instances of a single widget
- Clone this repository.
- Install all dependencies with
$ npm install
.
Run $ npm start
or $ gulp
and to build the app and start our server. You can now visit http://localhost:3000/. You'll see four counters: two counters which will automatically incremented every second or every 2 seconds and two counters which will independently incremented or decremented dependent on button clicks.