Why is my create-react-app showing README.md, not index.html?
问题 Why is my create-react-app showing README.md, not index.html? I've run npm run build -> yarn run deploy, checked the file structure multiple times and read the gh-pages docs. Can't find any other thread with the same issue out there. Thanks. 回答1: You can checkout the documentation from create-react-app regarding this. Add homepage to package.json . Open your package.json and add a homepage field for your project: "homepage": "https://myusername.github.io/my-app", or for a GitHub user page: