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