I have built a react app and I want to add it to my existing wordpress website. So basically when you visit mydomain.com/reactapp you should see the app. But for now I am getting a white page and in my console there is: https://www.mydomain.co.uk/static/css/main.cc05123b.css 404 (Not Found)

Do i have to change something in my htaccess? Thanks


I just needed to change the publicPath inside my webpack.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.