Created
December 20, 2016 05:45
-
-
Save Gethyl/abde4b620bf790488ca63cbf519baaef to your computer and use it in GitHub Desktop.
route.js from IsomorphicReactRedux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
import { Route, IndexRoute} from "react-router"; | |
import Layout from "./components/Layout"; | |
import Index from "./components/Index"; | |
import Help from "./components/Help/Help"; | |
import NotFoundPage from "./components/NotFoundPage"; | |
const routes = ( | |
<Route path="/" component={Layout} > | |
<IndexRoute component={Index}/> | |
<Route path="/help" component={Help}/> | |
<Route path="*" component={NotFoundPage}/> | |
</Route> | |
); | |
export default routes; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment