Next.js 설치하기
#yarn 기준
yarn create next-app
➜ ~ npx create-next-app pages-test
✔ Would you like to use TypeScript? … No / Yes
✔ Would you like to use ESLint? … No / Yes
✔ Would you like to use Tailwind CSS? … No / Yes
✔ Would you like to use `src/` directory? … No / Yes
✔ Would you like to use App Router? (recommended) … [No] / Yes
✔ Would you like to customize the default import alias? … No / Yes
연습을 위해서 모두 no 선택
프로젝트 빌드하기
yarn build
프로젝트 실행하기 (yarn start와 같은 개념)
yarn dev
728x90
반응형
'부트캠프 개발일지 2023-2024 > Next.js 넥스트' 카테고리의 다른 글
[12주차] Next.js : client-side render VS server-side render (1) | 2023.12.21 |
---|---|
[12주차] Next.js : Styled JSX, Custom App (0) | 2023.12.20 |
[12주차] Next.js : Routing, useRouter (0) | 2023.12.20 |
[12주차] Next.js : Static Pre Rendering, Client-side Render, Server-side Render, Hydration (1) | 2023.12.20 |
[12주차] Next.js : Pages Router 라우터 설정하기 (0) | 2023.12.20 |