import './index.html'; import './index.less'; import ReactDOM from 'react-dom'; import React from 'react';
import { browserHistory ,hashHistory} from 'react-router';
import Routes from '../routes/index'; const Provider = require('react-redux').Provider; const configureStore = require('../store/configureStore'); const store = configureStore() ReactDOM.render( <Provider store={store}>
<Routes history={hashHistory} />
</Provider>, document.getElementById('root') );