알린홈마의 코드친구들
article thumbnail

문학 커뮤니티를 Next.js를 이용해 만들어 보고자 한다.

 

Next.js 프로젝트 생성하기

npx create-next-app@latest

https://nextjs.org/docs/getting-started/installation

 

Getting Started: Installation | Next.js

We recommend starting a new Next.js app using create-next-app, which sets up everything automatically for you. To create a project, run: After the prompts, create-next-app will create a folder with your project name and install the required dependencies. N

nextjs.org

 

설치 셋팅

타입스크립트를 사용하고, 린팅도 사용하고, 테일윈드도 사용하고, src 디렉토리를 사용하며, 라우터 사용하고 import는 따로 커스터마이징 하지 않을게!!

 

실행 명령어

 npm run dev

결과 :

> brsg@0.1.0 dev
> next dev

- ready started server on [::]:3000, url: http://localhost:3000
- event compiled client and server successfully in 109 ms (20 modules)
- wait compiling...
- event compiled client and server successfully in 94 ms (20 modules)
- wait compiling /page (client and server)...
- event compiled client and server successfully in 1953 ms (426 modules)
- wait compiling...
- event compiled successfully in 70 ms (235 modules)
- wait compiling /favicon.ico/route (client and server)...
- event compiled client and server successfully in 256 ms (472 modules)

 

이제 재밌난 작업을 시작해보자!!!

profile

알린홈마의 코드친구들

@알린팬클럽홈마

포스팅이 좋았다면 "좋아요❤️" 또는 "구독👍🏻" 해주세요!

profile on loading

Loading...