content: import React from 'react';
  import { Router, Route } from 'dva/router';
  import IndexPage from './routes/IndexPage';
  
  import List from './routes/List.js';
  
  function RouterConfig({ history }) {
    return (
      <Router history={history}>
        <Route path="/" component={IndexPage} />
        <Route path="/list" component={List} />
      </Router>
    );
  }
  
  export default RouterConfig;
  