npm install --save gh-pages
"scripts": {
"predeploy": "npm run build",
"deploy": "gh-pages -d build"
}
deploy๋ gh-pages, build ์คํ
deploy๊ฐ ์คํํ๋ฉด predeploy npm run build๋ฅผ ์คํ
deploy => npm run build ํ npm run deploy
deploy, predeploy => npm run deploy
"homepage" : "https://์์ด๋.github.io/ํ๋ก์ ํธํด๋๋ช
"
setting => page => branch ์์ , save
npm run deploy