CRA를 사용한 환경세팅

react create app

npx create-react-app [프로젝트명]

# MacOS
sudo npx create-react-app [프로젝트명]

# typescript로 만들기
npx create-react-app [프로젝트명] --template typescript

주의 윈도우에서 허가되지 않은 스크립트가 뜨는 경우 1. powershell 관리자 권한으로 실행 2. Set-ExecutionPolicy Unrestricted 입력 후 엔터

Last updated