1. 프로젝트 생성 https://create-react-app.dev/docs/adding-typescript # yarn을 사용하는 경우 yarn create react-app my-app --template typescript # npx를 사용하는 경우 npx create-react-app my-app --template typescript 2. 리액트 프로젝트와 동일하게 yarn start 명령어로 프로젝트를 실행함 yarn start 3. tsconfig.json 파일 수정 // tsconfig.json "target": "ES2016" 수정 4. 타입 정의 패키지 설치 # react-router-dom yarn add react-router-dom @types/react-router-dom #..