Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- 40HQ컨테이너40GP컨테이너차이
- 엑셀드래그단축키
- WHATTIMEOFTHEDAY
- 헤이큐
- 슈퍼코딩
- 미국영어연음
- 필터링후복사붙여넣기
- 핸드캐리쿠리어차이점
- 비리짐
- 와끼
- 클린코드
- 자켓실측
- 영어시간읽기
- 40HQ컨테이너
- 우레탄지퍼
- TACKING
- MERN스택
- 암홀트롭
- 엑셀자동서식
- 엑셀필터복사붙여넣기
- AATCC
- 지연환가료
- 미니마카
- 나일론지퍼
- 요척합의
- 봉제용어
- Armhole Drop
- 비슬론지퍼
- 고급영어단어
- 웹API
Archives
- Today
- Total
CASSIE'S BLOG
github pages 주소 하위주소로 설정하는 거.. 본문
반응형
"deploy": "gh-pages -d build",
"predeploy": "npm run build"
1시간이나..날렸어 ㅠㅠㅠ
⭐npm install gh-pages 먼저 설치
⭐ scripts에 위에 명령어 추가
⭐ homepage 속성 추가
⭐npm run deploy 명령어 실행
{
"name": "client",
"version": "0.1.0",
"private": true,
"dependencies": {
"@material-ui/core": "^4.12.3",
"@material-ui/icons": "^4.11.2",
"@reduxjs/toolkit": "^1.6.1",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"axios": "^1.6.2",
"gh-pages": "^6.1.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-error-overlay": "6.0.9",
"react-redux": "^7.2.5",
"react-router-dom": "^6.0.0",
"react-scripts": "4.0.3",
"react-stripe-checkout": "^2.6.3",
"redux-persist": "^6.0.0",
"styled-components": "^5.3.1",
"web-vitals": "^1.0.1"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"deploy": "gh-pages -d build",
"predeploy": "npm run 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"
]
},
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11"
}
}
참고는 이거 보고함
왜 안될까..저번에는 했는데 그냥 원상복귀함...
반응형