L
L
LiteoR2020-10-24 11:04:35
Building projects
LiteoR, 2020-10-24 11:04:35

How to build a React app into a normal website?

I used to work with native js and jquery and build sites using gallp into a regular folder with files 5f93def765c9c304333181.jpeg, now I started to learn react and use create-react-app, so it builds the project into an application 5f93e006cd4c7130895412.pngthat can only be viewed by running an open server, etc. How can I build a project into a regular site?)

PS (Please do not throw rags, I did not find an explanation anywhere)

Answer the question

In order to leave comments, you need to log in

4 answer(s)
G
Gary_Ihar, 2020-10-24
@Gary_Ihar

In the terminal, run the command npm run build

K
Kirill Makarov, 2020-10-24
@kirbi1996

npm run build

A
Anton Filippov, 2020-10-26
@vicodin

Use Next.js or its analogues for this, and build a static site.
Here is a counter question to you, what stopped galp from arranging, and are you using react for the sake of react, and not because you need it?

B
bugaiovandrey, 2021-11-05
@bugaiovandrey

Read this article https://medium.com/nuances-of-programming/%D0%BA%D...
everything you need is here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question