yapi/client/routes.js
zwjamnsss 9b75c44671 none
2017-07-11 10:27:56 +08:00

16 lines
434 B
JavaScript

import React from 'react'
import { Route, HashRouter } from 'react-router-dom'
import { Home, Login, ProjectGroups } from './containers/index'
export default () => {
return (
<HashRouter>
<div className="router-main">
<Route path="/" component={ Home } />
<Route path="/Login" component={ Login } />
<Route path="/ProjectGroups" component={ ProjectGroups } />
</div>
</HashRouter>
)
}