index.js 251 B

123456789
  1. import React from 'react'
  2. import { render } from 'react-dom'
  3. import { Router, browserHistory } from 'react-router'
  4. import routes from './modules/routes'
  5. render(
  6. <Router routes={routes} history={browserHistory}/>,
  7. document.getElementById('app')
  8. )