dynamic react router
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import Styles from 'config/styles';
|
||||
import Templates from 'config/templates';
|
||||
import {hashHistory} from 'react-router';
|
||||
import app from './../../app';
|
||||
|
||||
Promise.all([
|
||||
@@ -7,5 +8,5 @@ Promise.all([
|
||||
Styles.sync()
|
||||
]).then(()=>{
|
||||
jQuery('#compiling_layouts').remove();
|
||||
app();
|
||||
app(hashHistory);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user