개인프로젝트/기능프로그램_오늘뭐입지
20240508_React 설정(멀티모듈, Intellij)
일일일코_장민기
2024. 5. 8. 18:10
728x90
이전에 VScode에서 React를 설정한 적은 있지만, Intellij에서는 처음이다.
아무튼
1. node.js 설치
2. 드라이브\Users\사용자명\AppData(숨김파일)\Roaming 위치에 npm파일 생성
3. Command Prompt에서 npm install npm -g
4. cd 설치할 위치
5. npx create-react-app frontend # npx create-reeact {프로젝트명}
6. 설치 후 App.js가 있는 폴더로 가서 npm run start
5.1 실행 버튼에 등록
Configuration에서 npm 등록
npm install -save react-scripts