- Visit for reference: https://create-react-app.dev/docs/deployment/
- Add
homepage": "https://myusername.github.io/my-app"
anywhere in your package.json. - run
npm install --save gh-pages
- add
"predeploy": "npm run build", "deploy": "gh-pages -d build",
to your script in package.json - now run
npm run deploy
it will publish your project finally. - go to your setting and make sure GitHub Pages option in your GitHub project settings is set to use the
gh-pages
branch - enjoy !!
-
Notifications
You must be signed in to change notification settings - Fork 0
kumari1224/react-icon-card-listings
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published