Last active
April 6, 2016 19:50
-
-
Save nitaliano/364548b974c37b8821d494333240c595 to your computer and use it in GitHub Desktop.
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 App from './components/App'; | |
import WeatherList from './components/WeatherList'; | |
import WeatherDetails from './components/WeatherDetails'; | |
import { Route, IndexRoute } from 'react-router'; | |
const routes = ( | |
<Route path="/" component={App}> | |
<IndexRoute component={WeatherList} /> | |
<Route path="details" component={WeatherDetails} /> | |
</Route> | |
); | |
export default routes; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment