when I upload my redux project to GitHub, the project url opens its readme. On local PC I write npm start and everything works, the project is displayed, but on git hub, open only readme
I install gh-pages to my package.json, and add homepage with needed url “https://dimadamage91.github.io/Quizzes/”.
But this url open readme.
{
"name": "flashcards",
"version": "0.1.0",
"private": true,
"dependencies": {
"@reduxjs/toolkit": "^1.9.5",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-redux": "^8.1.2",
"react-router-dom": "^6.15.0",
"react-scripts": "5.0.1",
"web-vitals": "^2.1.4"
},
"devDependencies": {
"gh-pages": "^6.1.1"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"predeploy": "npm run build",
"deploy": "gh-pages -d build"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"homepage": "https://dimadamage91.github.io/Quizzes/"
}
New contributor
user23354660 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.