DEV Community

Discussion on: Deploy Your Django + React.js app to Heroku

Collapse
 
kongenavkjelsaas100 profile image
KongenAvKjelsaas100

This is a late reply :-), but did you manage to solve it? I have the exact same problem.

Collapse
 
shakib609 profile image
Shakib Hossain

Most probably your directory structure is not right.
You can check out this repository for an example:
github.com/shakib609/django-react-...

Thread Thread
 
kongenavkjelsaas100 profile image
KongenAvKjelsaas100

Thank your for your answer. I have the same structure as you. I can read the index.html file, and the js-files under static/js, but for some reason not the css under static/css. I used a CDN in index.html today to make it work today, but that is a second option.