Commit 1ac8b455 authored by Jifa Jiang's avatar Jifa Jiang Committed by 偏右

require -> import (#162)

parent b3e917c5
......@@ -5,6 +5,7 @@ import './g2';
import './rollbar';
// import browserHistory from 'history/createBrowserHistory';
import './index.less';
import router from './router';
// 1. Initialize
const app = dva({
......@@ -18,7 +19,7 @@ const app = dva({
app.model(require('./models/global'));
// 4. Router
app.router(require('./router'));
app.router(router);
// 5. Start
app.start('#root');
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment