mirror of
https://github.com/YMFE/yapi.git
synced 2024-12-21 05:19:42 +08:00
15 lines
447 B
JavaScript
15 lines
447 B
JavaScript
import React from 'react'
|
|
import { BrowserRouter as Router, Route, Link } from 'react-router-dom'
|
|
import { Home, Login, ProjectGroups } from './containers/index'
|
|
|
|
export default store => {
|
|
return (
|
|
<Router>
|
|
<div className="router-main">
|
|
<Route path="/" component={ Home } />
|
|
<Route path="/Login" component={ Login } />
|
|
<Route path="/ProjectGroups" component={ ProjectGroups } />
|
|
</div>
|
|
</Router>
|
|
)
|
|
} |