S
S
survivor20052020-02-23 18:48:04
Web development
survivor2005, 2020-02-23 18:48:04

React build for web server?

Good day everyone, don’t beat me with sticks, I recently started studying React and I can’t find an adequate assembly anywhere for putting it on a web server, based on Apache and PHP. Is it possible to build a static site at all? What would end up like index.html, style.css and js? In short npm run build does not work naturally((

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Y
y0u, 2020-02-23
@y0u

https://github.com/facebook/create-react-app
Do everything according to the instructions and there will be no problems. If build does not work for you, then you made a mistake somewhere when setting it up.

A
abberati, 2020-02-23
@abberati

https://create-react-app.dev/docs/deployment

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question