import React from 'react';
import {Router} from 'react-router';
import createBrowserHistory from 'history/lib/createBrowserHistory';

import routes from './routes';

React.render(
  <Router
    history={createBrowserHistory()}
    children={routes}
  />,
  document.getElementById('outlet'));

import React from 'react';
import {Router} from 'react-router';
import {createHashHistory} from 'history';

import routes from './routes';

React.render(
  <Router
    history={createHashHistory()}
    children={routes}
  />,
  document.getElementById('outlet'));

Change back to HashHistory