Browse Source

Fixed default BrowserHistory demo

pull/245/head
nikogu 8 years ago
parent
commit
2c9da749b2
  1. 4
      src/index.js

4
src/index.js

@ -3,12 +3,12 @@ import 'moment/locale/zh-cn';
import './polyfill'; import './polyfill';
import './g2'; import './g2';
import './raven'; import './raven';
// import { browserHistory } from 'dva/router'; // import browserHistory from 'history/createBrowserHistory';
import './index.less'; import './index.less';
// 1. Initialize // 1. Initialize
const app = dva({ const app = dva({
// history: browserHistory, // history: browserHistory(),
}); });
// 2. Plugins // 2. Plugins

Loading…
Cancel
Save