mirror of
https://github.com/roleypoly/roleypoly-v1.git
synced 2025-06-16 18:29:08 +00:00
first sync
This commit is contained in:
parent
5d6f382c8a
commit
a4acc441ea
52 changed files with 28315 additions and 0 deletions
18
UI/src/router/index.js
Normal file
18
UI/src/router/index.js
Normal file
|
@ -0,0 +1,18 @@
|
|||
import React, { Component, Fragment } from 'react'
|
||||
import { Route } from 'react-router-dom'
|
||||
|
||||
import Servers from '../components/servers'
|
||||
import OauthCallback from '../components/oauth-callback'
|
||||
|
||||
const aaa = (props) => (<div>{ JSON.stringify(props) }</div>)
|
||||
|
||||
export default class AppRouter extends Component {
|
||||
render () {
|
||||
return <Fragment>
|
||||
<Route exact path='/' component={aaa} />
|
||||
<Route path='/s' component={Servers} />
|
||||
<Route path='/root' component={aaa} />
|
||||
<Route path='/oauth/callback' component={OauthCallback} />
|
||||
</Fragment>
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue