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:
My App after Build
There is a bit of information missing from your question. How is the build you run? It is the standard of React?
There is a bit of information missing from your question. How is the build you run? It is the standard of React?
– Caio Felipe Pereira
The problem is probably in the reference within the
index.html
. In the script references, put src assrc="/build/static/<...>
– reisdev