text: import React from 'react'
  import ReactDOM from 'react-dom'
  import { createBrowserHistory } from 'history'
  import { Router, Route, Switch } from 'react-router-dom'
  
  import 'bootstrap/dist/css/bootstrap.css'
  import 'assets/scss/paper-dashboard.scss'
  import 'assets/demo/demo.css'
  
  import indexRoutes from 'routes/index.jsx'
  
  const hist = createBrowserHistory()
  
  ReactDOM.render(
    <Router history={hist}>
      <Switch>
        {indexRoutes.map((prop, key) => {
          return <Route path={prop.path} key={key} component={prop.component} />
        })}
      </Switch>
    </Router>,
    document.getElementById('root')
  )
  