문학 커뮤니티를 Next.js를 이용해 만들어 보고자 한다.
Next.js 프로젝트 생성하기
npx create-next-app@latest
https://nextjs.org/docs/getting-started/installation
설치 셋팅
타입스크립트를 사용하고, 린팅도 사용하고, 테일윈드도 사용하고, 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)