React Router v4 routes not working : <p>I am relatively new to reacts and I'm trying to figure out how to get React router to work. I've got a super simple test app that looks like this:</p>

<pre><code>import React from 'react';
import ReactDOM from 'react-dom';

import {BrowserRouter as Router, Route, Switch, IndexRoute, Link} from 'react-router-dom';

const Home = () =&gt; &lt;h1&gt;&lt;Link to= "/about"&gt;Click Me&lt;/Link&gt;&lt;/h1&gt;
const About = () =&gt; &lt;h1&gt;About Us&lt;/h1&gt;

const Test = () =&gt; (
  &lt;Router&gt;
    &lt;Switch&gt;
    &lt;Route path ="/" component = {Home} /&gt;
    &lt;Route path ="/about" component = {About} /&gt;
    &lt;/Switch&gt;
  &lt;/Router&gt;
)

ReactDOM.render(&lt;Test /&gt;, document.getElementById('app'));
</code></pre>

<p>when I run the app the home component loads without any trouble, and when I click the "Click Me" link the url changes to localhost/about, however nothing happens. If I click refresh I get a "Cannot GET /about." Clearly I am doing something wrong but I haven't been able to figure out what. I am also using Webpack.</p>
