3. API 레퍼런스 (API Reference)#
Next.js App Router의 주요 컴포넌트, 함수, 설정, 파일 규칙을 정리한 레퍼런스입니다.
API 분류별 목차#
- 3.1 File-system conventions:
page.js,layout.js,loading.js,route.js등 파일 기반 라우팅 규칙 - 3.2 Components:
<Image>,<Link>,<Script>,<Form>등 내장 컴포넌트 - 3.3 Functions:
cookies(),headers(),redirect(),revalidateTag()등 내장 유틸리티 함수 - 3.4 Directives:
'use client','use server','use cache'지시어 - 3.5 Configuration:
next.config.js및 TypeScript/PostCSS 설정 - 3.6 CLI: Next.js CLI 명령어 (
next dev,next build,next start) - 3.7 Adapters: 배포 어댑터 및 인프라 연동
- 3.8 Edge Runtime: Edge 런타임 환경 및 지원 API
- 3.9 Turbopack: 고속 번들러 Turbopack 기능 및 설정