2018-03-31 06:08:51 +00:00
|
|
|
'use strict';
|
|
|
|
|
2019-07-21 20:59:34 +00:00
|
|
|
import route from './config/routes.js';
|
|
|
|
import config from './config/config.js';
|
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);
|