This commit is contained in:
syuilo 2017-11-16 03:06:52 +09:00
parent a2f75ea49d
commit 8b91502ab5
21 changed files with 267 additions and 165 deletions

View file

@ -2,7 +2,7 @@ import * as riot from 'riot';
import * as route from 'page';
let page = null;
export default me => {
export default () => {
route('/', index);
route('/apps', apps);
route('/app/new', newApp);

View file

@ -12,7 +12,7 @@ import route from './router';
/**
* init
*/
init(me => {
init(() => {
// Start routing
route(me);
route();
});