Skip to content

Latest commit

 

History

History
 
 

router-page-switcher

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Router - Page switcher

This is a simple example for showing how to use Riot Router to handle the URL.

Have a play

Open this example on Plunker

Run locally

Install superstatic if you don't have.

$ 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.