2016-02-22 20:02:45 -06:00
|
|
|
import Styles from 'config/styles';
|
|
|
|
|
import Templates from 'config/templates';
|
2016-03-05 16:53:29 -06:00
|
|
|
import createHistory from 'history/lib/createHashHistory';
|
|
|
|
|
import { useQueries } from 'history';
|
2016-02-23 00:52:24 -06:00
|
|
|
import app from './../../app';
|
2016-02-22 20:02:45 -06:00
|
|
|
|
|
|
|
|
Promise.all([
|
|
|
|
|
Templates.sync(),
|
|
|
|
|
Styles.sync()
|
|
|
|
|
]).then(()=>{
|
|
|
|
|
jQuery('#compiling_layouts').remove();
|
2016-03-05 16:53:29 -06:00
|
|
|
app(useQueries(createHistory));
|
2016-02-22 20:02:45 -06:00
|
|
|
});
|