뉴히의 개발 로그
react 프로젝트 생성 - nextjs 프레임워크로 프로젝트 생성/실행 with TypeScript 본문
프로젝트 생성
node 먼저 설치가 되어있어야한다.
// 최신 버전 설치
npx create-next-app@latest 프로젝트명
// start with typescript (tailwind, eslint도 한번에 설치)
npx create-next-app@latest 프로젝트명 --typescript --tailwind --eslint
// yarn
yarn create next-app
yarn create next-app --typescript
프로젝트 실행
cd 해당 프로젝트
npm run dev
http://localhost:3000/에서 초기 화면 확인가능
'React' 카테고리의 다른 글
[Jest] 자바스크립트 테스트 프레임워크 : test 코드로 JS 의 기능 및 로직 점검하기 - React 테스트 코드 (1) | 2024.06.09 |
---|---|
[NextJS] Next.js 13이상 - App Router 기본 폴더 구조 (0) | 2024.03.05 |
react 프로젝트 생성 - vite 로 프로젝트 생성/실행 (0) | 2024.03.04 |