2017-07-05 14:10:06 +08:00
|
|
|
import React from 'react'
|
2017-07-11 10:27:56 +08:00
|
|
|
import { Route, HashRouter } from 'react-router-dom'
|
2017-07-11 19:12:13 +08:00
|
|
|
import { Home, Login, ProjectGroups, Interface } from './containers/index'
|
2017-07-05 14:10:06 +08:00
|
|
|
|
2017-07-10 20:28:03 +08:00
|
|
|
export default () => {
|
2017-07-05 14:10:06 +08:00
|
|
|
return (
|
2017-07-09 21:47:19 +08:00
|
|
|
<HashRouter>
|
2017-07-07 17:26:31 +08:00
|
|
|
<div className="router-main">
|
2017-07-14 14:44:32 +08:00
|
|
|
<Route path="/" component={ Home } exact />
|
2017-07-07 17:26:31 +08:00
|
|
|
<Route path="/Login" component={ Login } />
|
|
|
|
<Route path="/ProjectGroups" component={ ProjectGroups } />
|
2017-07-11 19:12:13 +08:00
|
|
|
<Route path="/Interface" component={ Interface } />
|
2017-07-07 17:26:31 +08:00
|
|
|
</div>
|
2017-07-09 21:47:19 +08:00
|
|
|
</HashRouter>
|
2017-07-05 14:10:06 +08:00
|
|
|
)
|
2017-07-10 20:26:49 +08:00
|
|
|
}
|