• node -v 

(18.12.1)

  • npm -v

(8.19.2)

  • npm install yarn
  • yarn -v

(1.22.10)

vscode 추가 ( Better comments, Path Autocomplete, Ayu..)

 

  • npx create-next-app (project name)

(package.json)

  • npm run dev (or yarn dev)

 

(수동설치)

  • yarn init -y
  • yarn add next react react-dom

 

(추가)

  • npm install -g eslint
  • eslint --init

(vscode) prettierrc (setting format check), vscode-styled-components

 

  • yarn add isomorphic-unfetch
  • yarn add -D typescript @types/react @types/node save-dev

(tsconfig.json)

 

yarn add styled-compoents

 

 

 

 

 

https://nextjs.org/

+ Recent posts