p5.js-web-editor/shared/routes.js

16 lines
499 B
JavaScript
Raw Normal View History

2016-05-18 19:37:59 +02:00
import { Route, IndexRoute } from 'react-router'
import React from 'react'
import App from './containers/App'
import IDEView from './containers/IDEView/IDEView'
2016-05-24 07:20:59 +02:00
import LoginView from './containers/LoginView/LoginView'
import SignupView from './containers/SignupView/SignupView'
2016-05-18 19:37:59 +02:00
const routes = (
<Route path="/" component={App}>
<IndexRoute component={IDEView} />
2016-05-24 07:20:59 +02:00
<Route path="/login" component={LoginView}/>
<Route path="/signup" component={SignupView}/>
2016-05-18 19:37:59 +02:00
</Route>
);
export default routes;