next.js vercel 배포

김태완·2023년 2월 2일
  1. 만들고자 하는 next.js 폴더 copy
  2. node-modules / .next 폴더 삭제
  3. yarn 을 통한 통합 패키지 설치
  4. yarn dev 로 text
  5. git hub repo 생성

git hub

  • git init
  • git remote add origin [복사한 github repo 주소] - git add .
  • git commit -m “feat: blog deploy”
  • git push --set-upstream origin main

git - vercel 연동

이후 code에서 commit 후 push 하면 연동됨 ;;;

profile
nothing

0개의 댓글