Skip to content

Instantly share code, notes, and snippets.

@Ibro
Created January 11, 2018 20:12
Show Gist options
  • Save Ibro/8b63f65801011f81b28a2915ae0cd217 to your computer and use it in GitHub Desktop.
Save Ibro/8b63f65801011f81b28a2915ae0cd217 to your computer and use it in GitHub Desktop.
Using React Router v4 with create-react-app - https://codingblast.com/react-router-create-react-app/
<Route exact path="/" component={Home} />
<Route path="/admin" component={Admin} />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment