S
S
Sergey Burduzha2020-08-18 07:27:56
React
Sergey Burduzha, 2020-08-18 07:27:56

How to run react build as layout?

Good afternoon.
I have created my own small react app and want to show it to a friend.
I wrote in the terminal npm run build

I know that then you can install serve and run build through it.

But, I just want to drag the build folder to my hosting and attach it to the technical domain, this is temporary.

Only if I open index.html from build it opens a white page.

Thanks in advance for the hint.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question