dvdzkwsk / react-redux-starter-kit

Get started with React, Redux, and React-Router.
MIT License
10.29k stars 2.2k forks source link

Run build, files generated but when put on Server just a blank page #1296

Closed alex-gvozden closed 7 years ago

alex-gvozden commented 7 years ago

Hi,

I run successfully yarn build (npm run build) and get files in dist

I copy then files to webserver but index.html only display blank page. I've turned off source maps but that did not help too.

No errors in console.

Here is a packaged dist folder contents

Alex dist.zip

alex-gvozden commented 7 years ago

I see it might be that I am not running nodejs server you provide in server/main.js but directly accessing index.html and thus browserHistory has issues?

alex-gvozden commented 7 years ago

yep, the issue was I was not running on nginx configuration... it's all good now