Problems to use system developed in React on Apache

Asked

Viewed 31 times

0

I created an application with React, and when I finished developing npm run build, I played the app on the Xampp server to test, but when access to the system by the Xampp server appears:

inserir a descrição da imagem aqui

My App after Build

inserir a descrição da imagem aqui

  • There is a bit of information missing from your question. How is the build you run? It is the standard of React?

  • 1

    The problem is probably in the reference within the index.html. In the script references, put src as src="/build/static/<...>

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.