riot-starter/public/js/app.js

19 lines
387 B
JavaScript
Raw Normal View History

2018-03-31 06:08:51 +00:00
'use strict';
2019-07-20 23:05:55 +00:00
const route = require('./config/routes');
const config = require('./config/config');
2018-03-31 06:08:51 +00:00
// -----------------------------------------------
2019-07-20 23:05:55 +00:00
// Application Bootstrap
2018-03-31 06:08:51 +00:00
// -----------------------------------------------
2019-07-20 23:05:55 +00:00
// [ global mixin ] ------------------------------
2018-03-31 06:08:51 +00:00
2019-07-20 23:05:55 +00:00
riot.mixin({
app: config
2019-06-19 21:45:10 +00:00
});
2018-03-31 06:08:51 +00:00
// [ start router ] ------------------------------
2019-07-20 23:05:55 +00:00
route.start(true);