목록프로젝트생성 (3)
뉴히의 개발 로그

프로젝트 생성 node 먼저 설치가 되어있어야한다. // 최신 버전 설치 npx create-next-app@latest 프로젝트명 // start with typescript (tailwind, eslint도 한번에 설치) npx create-next-app@latest 프로젝트명 --typescript --tailwind --eslint // yarn yarn create next-app yarn create next-app --typescript 프로젝트 실행 cd 해당 프로젝트 npm run dev http://localhost:3000/에서 초기 화면 확인가능

npm create vite@latest 프로젝트의 이름이나 사용하려는 템플릿을 직접 지정할 수도 있다. Vite + Vue 프로젝트를 만들고 싶다면 다음과 같이 입력 # npm 7+, '--'를 반드시 붙여주세요 npm create vite@latest my-vue-app -- --template vue # yarn yarn create vite my-vue-app --template vue # pnpm pnpm create vite my-vue-app --template vue # bun bun create vite my-vue-app --template vue 그 외 템플릿 vanilla, vanilla-ts, vue, vue-ts, react, react-ts, react-swc, react-sw..

리액트 타입스크립트 프로젝트 생성 공식문서 https://create-react-app.dev/docs/adding-typescript/ // npx를 사용하는 경우 npx create-react-app my-app --template typescript // yarn을 사용하는 경우 yarn create react-app my-app --template typescript 기존 작업하던 리액트 프로젝트에서 시작 // npx를 사용하는 경우 npm install --save typescript @types/node @types/react @types/react-dom @types/jest // yarn을 사용하는 경우 yarn add typescript @types/node @types/react @ty..