This is a simple example with pre-compilation. It's basically equivalent to the in-browser version.
This demo is not available on Plunker.
Follow the instruction below.
Install riot
and superstatic
if you don't have.
$ npm install -g riot
$ npm install -g superstatic
Download or clone this repo, then run the command.
$ cd to/this/dir
$ superstatic
Open the URL shown in your browser.
If you modify the files, you need to recompile it.
$ riot todo.riot
Then reload the page on your browser.