here's my Index.js file. could provide additional info. import 'babel-polyfill'
import express from 'express'
import {matchRoutes} from 'react-router-config'
import Routes from './client/Routes'
import renderer from './helpers/renderer'
import createStore from './helpers/createStore'
//const Body = require('./client/components/Body').default;
const app = express();
app.use(express.static('public'));
app.get('*', (req, res)=>{
const store = createStore();
//console.log(matchRoutes(Routes, req.path));