erikras / react-redux-universal-hot-example

A starter boilerplate for a universal webapp using express, react, redux, webpack, and react-transform
MIT License
12.01k stars 2.5k forks source link

css/scss style files are not loading #695

Open Sridatta19 opened 8 years ago

Sridatta19 commented 8 years ago

Hey,

We are planning to migrate from Backbone to React and I am currently going through this starter-kit to get to know more about integrating react, redux, webpack & router in a isomorphic app. Since, our application is huge and would take significant time to migrate completely, we are looking at different options to support backbone/reactjs coexistence.

I have setup a proxy server in our application and it redirects ajax requests to 'reactjs project' (which is built based on this repo). And then the html ajax response is rendered completely on the web page.

I have observed that styles are broken and many of the css/scss style files have not loaded. I understand that a client-side rendering app might be a better fit in this scenario, but is there any way I can make this work with server-side rendering app? Am I missing something obvious?

chrisblossom commented 8 years ago

It sounds like you might be having the same development styling issues I was having. Check out #693 as a possible solution.

Sridatta19 commented 8 years ago

I actually found it to be happening in both dev & prod environments

FoxxMD commented 8 years ago

Try the solution in #671