Skip to content

Instantly share code, notes, and snippets.

@philippTheCat
Created October 26, 2015 21:16
Show Gist options
  • Save philippTheCat/3f26d04f951df8bd9e04 to your computer and use it in GitHub Desktop.
Save philippTheCat/3f26d04f951df8bd9e04 to your computer and use it in GitHub Desktop.

Revisions

  1. philippTheCat created this gist Oct 26, 2015.
    12 changes: 12 additions & 0 deletions routes.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    import {Router, Route} from 'react-router';

    var routes = (
    <Router>
    <Route path="/" component={App}>
    <Route path="about" component={About} />
    <Route path="inbox" component={Inbox} />
    </Route>
    </Router>
    );

    export routes;