@Avitohol1
Posted
Hi there - I saw from your package.json that you have installed gh-pages. Did you run npm run deploy and if so are there any errors that show up? Anyways this is my process on publishing to gh-pages:
- Install gh-pages (npm install gh-pages --save-dev)
- Create github repository
- git add .
- git commit -m 'first commit'
- git branch -M main
- git remote add origin https://github.com/{your_username}/{your_repo}.git
- git push -u origin master
- npm run deploy
Also, make sure you have the correct homepage in package.json Hope this helps!
Marked as helpful