"scripts": {
"predeploy": "npm run build",
"deploy": "gh-pages -d build",
},
하단에 추가하시면 됩니다.
"homepage": "http://{사용자이름 OR organizations 이름}.github.io/{저장소이름(repo 이름)}"
build를 주석처리해주세요
# /build
"scripts": {
"postbuild": "cp build/index.html build/404.html"
},