먼저, React와 TypeScript 및 Next.js를 사용하기 위해 필요한 패키지들을 설치해주세요.: npm install --save react react-dom next npm install --save typescript @types/react @types/node 그리고 최상위 폴더에 "tsconfig.json" 파일과 "next.config.js" 파일을 생성해주세요. tsconfig.json 파일에는 다음과 같이 작성하세요. json { "compilerOptions": { "target": "esnext", "module": "esnext", "jsx": "preserve", "lib": ["dom", "esnext"], "moduleResolution": "node", "allowJs..