Skip to content

Commit 6aabe7e

Browse files
authored
Clarify "homepage" field has special meaning
1 parent dcdcab0 commit 6aabe7e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

template/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -552,6 +552,9 @@ Open your `package.json` and add a `homepage` field:
552552
"homepage": "http://myusername.github.io/my-app",
553553
```
554554
555+
**The above step is important!**
556+
Create React App uses the `homepage` field to determine the root URL in the built HTML file.
557+
555558
Now, whenever you run `npm run build`, you will see a cheat sheet with a sequence of commands to deploy to GitHub pages:
556559
557560
```sh

0 commit comments

Comments
 (0)