Skip to content

Commit

Permalink
fix ant-design#649 browserHistory error
Browse files Browse the repository at this point in the history
  • Loading branch information
chenshuai2144 committed Jan 11, 2018
1 parent 5820d95 commit 6f27820
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .webpackrc
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"html": {
"template": "./src/index.ejs"
},
"publicPath": "/",
"disableDynamicImport": true,
"hash": true
}
3 changes: 3 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import '@babel/polyfill';
import dva from 'dva';

import createHistory from 'history/createHashHistory';
// user BrowserHistory
// import createHistory from 'history/createBrowserHistory';
import createLoading from 'dva-loading';
import 'moment/locale/zh-cn';
import FastClick from 'fastclick';
Expand Down

0 comments on commit 6f27820

Please sign in to comment.