CCrizel
프로그래밍리액트

리액트 설치

작성자
고성훈
등록일
2024-11-26 13:18
1) nodejs 설치 2) 리액트 저장소 가져오기 : curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash - 2-1) 리액트 설치 : npx create-react-app crizel 2-2) 리액트 백그라운드 : npm install pm2 -g 3) 리액트 라우터 설치 : npm install react-router-dom , [백엔드] pm2 start npm -- start , [프론트엔드] pm2 start node_modules/react-scripts/scripts/start.js 4) 액시오스 설치 : npm install axios 5) npm start