Skip to content

Files

Latest commit

730cf35 · Aug 4, 2021

History

History
This branch is 14 commits behind riot/examples:gh-pages.

todo-app-precompiled

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Aug 13, 2020
Aug 3, 2021
Aug 15, 2015
Aug 4, 2021
Aug 4, 2021

README.md

Todo App (pre-compiled)

This is a simple example with pre-compilation. It's basically equivalent to the in-browser version.

How to try and edit

This demo is not available on Plunker.

How to try locally

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.

Recompile the tag

If you modify the files, you need to recompile it.

$ riot todo.riot

Then reload the page on your browser.