text: import React from 'react';
  import ReactDOM from 'react-dom';
  import { Provider } from 'react-redux';
  import { ConnectedRouter } from 'react-router-redux';
  import { createHashHistory } from 'history';
  
  import '@icedesign/base/reset.scss';
  import 'simple-line-icons/css/simple-line-icons.css';
  
  import router from './router';
  import configureStore from './configureStore';
  
  // Create redux store with history
  const initialState = {};
  const history = createHashHistory();
  const store = configureStore(initialState, history);
  const ICE_CONTAINER = document.getElementById('ice-container');
  
  if (!ICE_CONTAINER) {
    throw new Error('当前页面不存在 <div id="ice-container"></div> 节点.');
  }
  
  ReactDOM.render(
    <Provider store={store}>
      <ConnectedRouter history={history}>{router()}</ConnectedRouter>
    </Provider>,
    ICE_CONTAINER
  );
  