Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
Tags
- merge
- 선형대수
- 친절한SQL튜닝
- 데비안
- 코드로배우는스프링부트웹프로젝트
- 깃
- 처음 만나는 AI수학 with Python
- GIT
- 처음 만나는 AI 수학 with Python
- iterator
- /etc/network/interfaces
- resttemplate
- 알파회계
- 리눅스
- 스프링 시큐리티
- 구멍가게코딩단
- 서버설정
- network configuration
- 자료구조와함께배우는알고리즘입문
- 코드로배우는스프링웹프로젝트
- 목록처리
- 이터레이터
- 티스토리 쿠키 삭제
- Kernighan의 C언어 프로그래밍
- 자바편
- 스프링부트핵심가이드
- 네트워크 설정
- 병합
- 페이징
- 자료구조와 함께 배우는 알고리즘 입문
Archives
- Today
- Total
bright jazz music
생활코딩: next.js 본문
1. 설치 및 환경설정
PS D:\react-workspace\nextjs-test> npx create-next-app@latest .
√ Would you like to use TypeScript with this project? ... No / Yes
√ Would you like to use ESLint with this project? ... No / Yes
√ Would you like to use Tailwind CSS with this project? ... No / Yes
√ Would you like to use `src/` directory with this project? ... No / Yes
√ Use App Router (recommended)? ... No / Yes
√ Would you like to customize the default import alias? ... No / Yes
Creating a new Next.js app in D:\react-workspace\nextjs-test.
Using npm.
Initializing project with template: app-tw
Installing dependencies:
- react
- react-dom
- next
- tailwindcss
- postcss
- autoprefixer
- eslint
- eslint-config-next
added 345 packages, and audited 346 packages in 33s
136 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
Initialized a git repository.
Success! Created nextjs-test at D:\react-workspace\nextjs-test
PS D:\react-workspace\nextjs-test>
2. 실행
PS D:\react-workspace\nextjs-test> npm run dev
> nextjs-test@0.1.0 dev
> next dev
- ready started server on 0.0.0.0:3000, url: http://localhost:3000
Attention: Next.js now collects completely anonymous telemetry regarding usage.
This information is used to shape Next.js' roadmap and prioritize features.
You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
https://nextjs.org/telemetry
- event compiled client and server successfully in 2.2s (311 modules)
- wait compiling...
- event compiled client and server successfully in 487 ms (311 modules)
- wait compiling /page (client and server)...
- event compiled client and server successfully in 3.2s (586 modules)
- wait compiling...
- event compiled successfully in 134 ms (334 modules)
버전업 되면서 책과 상이한 부분이 있어 실습을 나중으로 미룬다.
'Framework > ReactJs' 카테고리의 다른 글
2. React에서 axios 사용하기(POST) (0) | 2023.05.21 |
---|---|
1. React에서 axios 사용하기(GET) (0) | 2023.05.21 |
생활코딩: Redux toolkit (0) | 2023.05.17 |
생활코딩: react-redux 예제2 (0) | 2023.05.17 |
생활코딩: react-redux 예제1 (0) | 2023.05.17 |
Comments