목록2024/03/04 (2)
뉴히의 개발 로그

프로젝트 생성 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/에서 초기 화면 확인가능
React
2024. 3. 4. 19:14

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..
React
2024. 3. 4. 18:05