Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 |
Tags
- 개미수열
- LastModified
- 지뢰찾기
- 리얼월드HTTP
- 워드프레스
- i18n
- Spring
- cache-control
- 이렇게살아야되나자괴감이
- 브로틀리
- cross parameter
- HTTP
- jsr303
- kotliln
- brotli
- 코드스피츠
- Kotlin
- jsr380
- 클래스레벨밸리데이션
- 랜선아미안해
- 알게뭐냐
- 지수반등
- etag
- 스프링
- 알고리즘
Archives
- Today
- Total
취미개발 블로그와 마음수양
nextjs 배포 본문
1. Aws amplify
nextjs - aws amplify 로 배포.
밑의 주소를 보고서 하면 되는데
dev.to/dabit3/5-minute-tutorial-deploying-a-next-app-with-aws-amplify-hosting-5199
⚡️ 5 Minute Tutorial: Deploying a NextJS app with AWS Amplify Hosting
How to deploy a Next app to AWS with Amplify Hosting
dev.to
단 .. SSR 이 되지 않는다. 저기서 형태는
build 명령어가 build 한 뒤에 export 하는 형태로
SSG 라고볼수가 있다.
그리고 동적라우팅을 amplify 에서 다시 설정을 해줘야 한다.
router.query 에서 query 받아오는 것도 잘 안된다.
2안. Serverless 를 통한 배포
github.com/serverless-nextjs/serverless-next.js
serverless-nextjs/serverless-next.js
⚡ Deploy your Next.js apps on AWS Lambda@Edge via Serverless Components - serverless-nextjs/serverless-next.js
github.com
'FrontEnd > React' 카테고리의 다른 글
React Native 프로젝트 세팅과 실행 (1) | 2021.06.21 |
---|---|
next.js 관련 세미나 정리 (0) | 2020.12.28 |
eslint 설정 (0) | 2020.12.13 |
nextjs 배포 (0) | 2020.12.13 |
nextjs 와 typescript 같이 사용 (0) | 2020.12.12 |