김마드 2024. 7. 14. 17:08

프로젝트 폴더 생성 후

1. npm init -y
2. JSON script license -> MIT
3. npm install react@latest next@latest react-dom@latest
4. app 폴더에 page.tsx or page.jsx 만들고 (타입스크립트는 tsx이고,) 
5. npm run dev 해보기 (추가적으로 관련 파일들이 설치됨)