FrontEnd/React
Creat React App - 프로젝트 생성
andante131
2023. 8. 5. 18:41
처음 시작할때 하는 기본 방법
yarn create react-app basic
basic 폴더에 리액트 프로젝트 시작.
그 외 yarn 명령어
yarn start // 프로젝트 시작
yarn build // 프로젝트 빌드
yarn test // 테스트 실행
yarn eject // 포장지 까지, 추후 설명
react 프로젝트 시작
node 설치 (node 패키지 다운로드 )
yarn 활성화 ($corepack enable)
create react-app ($yarn craete react-app <프로젝트 이름>)

설치에 대한 참고: https://create-react-app.dev/docs/getting-started/
Getting Started | Create React App
Create React App is an officially supported way to create single-page React
create-react-app.dev
설치후 화면.

설치 후 react app 실행.
설명에 나온대로.
cd react-web
yarn start
을 입력하면

react 부팅 시작!