Skip to content

Instantly share code, notes, and snippets.

@alexbeletsky
Created November 17, 2017 12:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexbeletsky/0b4d97b2df8b129c76908d04e5f9046a to your computer and use it in GitHub Desktop.
Save alexbeletsky/0b4d97b2df8b129c76908d04e5f9046a to your computer and use it in GitHub Desktop.
const routes = (
<Route path="">
{' '}
<Route path="/signup" component={SignUp} />{' '}
<Route path="/signin" component={SignIn} />{' '}
<Route path="/welcome-on-board" component={Welcome} />{' '}
<Route path="/forgot-password" component={ForgotPassword} />{' '}
<Route path="/signout" component={SignOut} />{' '}
<Route path="/" component={App}>
{' '}
<Route name="dashboard" path="dashboard" component={Dashboard} />{' '}
<Route name="profile" path="user-profile" component={UserProfile} />{' '}
</Route>{' '}
<Route path="*" component={FourOFour} status={404} />{' '}
</Route>
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment