react-router v2.0 browserHistory not working
<p>Currently using react-route v2.0.</p>

<p>I am sure I am over looking something but I am able to get hashHistory working but when implementing browserHistory I get a 404 error msg as I am trying to remove hashHistory in the url and as well would like to know a work around for production.</p>

<p>I been pulling out my hair all afternoon and can't seem to see where I am going wrong.</p>

<p>app/App.jsx</p>

<pre><code>var React = require('react');
var ReactDom = require('react-dom');
var Router = require('react-router').Router;
var routes = require('./config/routes');
var browserHistory = require('react-router').browserHistory;

ReactDom.render(
  &lt;Router history={browserHistory}&gt;{routes}&lt;/Router&gt;,
  document.getElementById('app')
);
</code></pre>

<p>app/config/routes.jsx</p>

<pre><code>var React = require('react');
var Main = require('../components/Main');
var Home = require('../components/Home');
var Profile = require('../components/Profile');
var Router = require('react-router');
var Route = Router.Route;
var IndexRoute = Router.IndexRoute;

module.exports = (
  &lt;Route path="/" component={Main}&gt;
    &lt;Route path="profile/:username" component={Profile} /&gt;
    &lt;IndexRoute component={Home} /&gt;
  &lt;/Route&gt;
);
</code></pre>

<p>Here is a repo that I am working on
<a href="https://github.com/SOSANA/React.JS-Tutorials-and-Things/tree/master/github-notetaker/04-state-and-props" rel="nofollow">https://github.com/SOSANA/React.JS-Tutorials-and-Things/tree/master/github-notetaker/04-state-and-props</a></p>

<p>Hope someone can help</p>