content: import React from 'react'
  import ReactDom from 'react-dom'
  import {Router, Route, browserHistory} from 'react-router'
  import IndexComponent from "./components/index/index.js"
  import DetailComponent from "./components/detail/index.js"
  import ListComponent from "./components/list/list.js"
  import {createStore} from 'redux'
  import reducer from './reducer/reducer.js'
  import {Provider} from 'react-redux'
  
  const store = createStore(reducer, window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__());
  
  class Root extends React.Component {
  	render() {
  		return (
  			<Provider store={store}>
  				<Router history={browserHistory}>
  					<Route path="/" component={IndexComponent}></Route>
  					<Route path="/detail/:id" component={DetailComponent}></Route>				
  					<Route path="/list/:id" component={ListComponent}></Route>				
  				</Router>
  			</Provider>
  		)
  	}
  }
  
  
  ReactDom.render(<Root />, document.getElementById("root"));