Commit 2c9da749 authored by nikogu's avatar nikogu

Fixed default BrowserHistory demo

parent 591beb1d
...@@ -3,12 +3,12 @@ import 'moment/locale/zh-cn'; ...@@ -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
......
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