RiotJS

version: 3.x

Routing

By default riot-route is included in this starter kit, but can easily be replaced with your own solution. This is just an example. Links are prefiex with a hash #, so the about page becomes href="#/about" You can see how that translates in the browser bar of this page

Normally, routes are stored in a routes.js file; for simplicity this example defines them in the app/app.js.