By default, Pages builds your site with Jekyll, which again by default turns your readme into the index.html file if there isn’t one. You can create a
.nojekyll file to disable that, see Static site generators.
Another problem I see is that there is no
index.html file at the root of your repository. I assume the stuff in
public/ is what you’d want there.
hey, how to do that? I don’t know please help
Create the file like you’d create any other file in the repository, and leave it empty.
.nojekyll with this name right? @airtower-luna
Good, that means it’s not using your readme file any more. Now it’s the second issue I mentioned above:
There’s no is no
index.htmlfile at the root of your repository. I assume the stuff in
public/is what you’d want there.
yeah, How to resolve that now? @airtower-luna
You’ll need to restructure your app so the entry page is called
index.html at the root of your repository. As far as Git is concerned you can just move the files, but I’m afraid I can’t say if there is anything to take care of for React.