Answer the question
In order to leave comments, you need to log in
Why does the react-landing on the hosting not come off?
Good day!
There is a landing page on react.
I want to post it on my hosting (linkhost).
Did npm run build. I put the files from build in the root of the folder, where all the projects are.
As a result, I have an empty page with an empty root.
What is the pitfall?
On github, by the way, the same white blank sheet...
Answer the question
In order to leave comments, you need to log in
the screen is good, but the fact that there are 9 errors in the console, and the console is the next tab, doesn’t hint at anything? ))
Most likely you have wrong paths to the files.
Add the path in the pakage.json of the project to the homepage directive
"version": "0.1.0",
"private": true,
"homepage": ".",
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question