all is well!!
01. Next.js 초기설정 본문
[Nextjs + Typescript] velog 클론코딩/[ Nextjs + Typescript ] 나를 위한 기록
01. Next.js 초기설정
tnqlscho 95 2023. 2. 1. 02:38이번 next.js를 이용한 프로젝트는 빠른 설정을 위해 자동 설정으로 진행했다.
🟣 npx으로 설치 (TypeScript로 진행)
npx create-next-app@latest --typescript
🟣 yarn으로 설치 (TypeScript로 진행)
yarn create next-app --typescript
🟣 설치 후 - 개발서버 시작 (http://localhost:3000)
//npm 일때
npm run dev
//yarn 일때
yarn dev
🐣 이렇게 하면 간단하게 next.js로 프로젝트를 시작할 수 있다..!
next.js docs 참고
https://nextjs.org/docs?utm_source=create-next-app&utm_medium=default-template&utm_campaign=create-next-app
'[Nextjs + Typescript] velog 클론코딩 > [ Nextjs + Typescript ] 나를 위한 기록' 카테고리의 다른 글
| 6. next.js 에서 <Link> 태그를 쓰자! (0) | 2023.02.10 |
|---|---|
| 5. next.js 에서 <Image> 태그를 쓰자! (0) | 2023.02.08 |
| 4. 동적 라우팅으로 가져오는 데이터에 사용한 구조분해할당 (0) | 2023.02.08 |
| 3. clone coding - dev툴 이용해서 css 참고 (0) | 2023.02.03 |
| 02. next.js 라우팅 방식 (0) | 2023.02.01 |
Comments