Skip to content

a small change in the doc of deployment on github pages #8702

Description

@coolzyw

Is your proposal related to a problem?

I've stuck for a long time on deploying my react-app to the Github pages. After several trial and errors, I finally figured out that I didn't do Step1 correct: Add homepage to package.json

The difference of react-app folder name and my github repository name tricked me.

Describe the solution you'd like

In this case, people should set

"homepage": "https://myusername.github.io/github-repository-name",

instead of

"homepage": "https://myusername.github.io/local-react-app-name",

However, on the official doc, this is not made super clear to the user. Hope this can help others!

Describe alternatives you've considered

Additional context

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions