Skip to content

Instantly share code, notes, and snippets.

@hannigand
Created February 23, 2017 17:09
Show Gist options
  • Save hannigand/4cd99e77bcfbca2ebd3fdee8169dd2af to your computer and use it in GitHub Desktop.
Save hannigand/4cd99e77bcfbca2ebd3fdee8169dd2af to your computer and use it in GitHub Desktop.
import React from 'react';
import ReactDOM from 'react-dom';
import {
Router,
Route,
browserHistory
} from 'react-router'
import Header from './Components/Header';
import DayPicker from './Components/DayPicker';
import Games from './Components/Games';
import './Styles/vendor/ginger.css';
import './index.css';
ReactDOM.render(
<Router history={ browserHistory }>
<main id="pinetar">
<Header />
<Route path="/:month" component={Games} />
<Route path="/home/:month" component={Games} />
<Route path="/games" component={Games} />
</main>
</Router>,
document.getElementById('root')
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment