-
vite로 react설치 명령어웹개발/REACT 2024. 8. 2. 20:22728x90
npx create-react-app .
여기서 .은 현재 디렉토리에 설치를 뜻합니다.
파일 만들어서 설치 원하시면 . 대신에 파일명 적어주시면 되세요.
npm으로 설치하는거는 저는 3분 정도 걸리는거 같아요.
yarn이 확실히 빠르긴 한데, 그냥 npm으로 합니다.
그동안 잠쉬 폰하거나 유튜브 봐요.
설치 완료되면
npm create vite@latest
vite패키지를 설치합니다.
어떤 모드로 선택해주시면 끝입니다.
728x90'웹개발 > REACT' 카테고리의 다른 글
리액트 상태 관리의 필수 도구: Redux로 상태 관리 쉽게 배우기 (0) 2024.07.31 리액트 컴포넌트와 JSX 문법: Virtual DOM의 기본 이해 (0) 2024.07.31 Redux, Recoil, 그리고 Zustand: 상태 관리의 진화 🚀 (0) 2024.07.31 리액트 초보도 쉽게 따라하는 Context API 사용법! (0) 2024.07.25 리액트 개발의 신세계, useReducer로 상태 관리 마스터하기! (0) 2024.07.25