- Your package.json file should consist a field
homepage
:
"homepage": "https://<github-username>.github.io/<project-repo>"
2.1. Install gh-pages
via npm:
npm i --save-dev gh-pages
homepage
: "homepage": "https://<github-username>.github.io/<project-repo>"
2.1. Install gh-pages
via npm:
npm i --save-dev gh-pages