๋ฆฌ์กํธ์ ๋ฐฐํฌ ๊ณผ์ ์ผ๋ก github page๋ฅผ ์ด์ฉํ ๊ฒฝ์ฐ์ ์์.
npm i gh-pages
"homepage" : "https://(github์์ด๋).github.io/(repository์ด๋ฆ)"
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"eject": "react-scripts eject",
"predeploy": "npm run build",
"deploy": "gh-pages -d build"
},
์ต์ข ์ ์ผ๋ก npm run deploy๋ฅผ ์คํํ ๊ฒฝ์ฐ์ page๊น์ง ๊ฐ์ด ์ ๋ก๋ ๋๋๊ฑธ ํ์ธํ ์ ์๋ค.