CRA(create-react-app) + TypeScript

파쏭쏭계란빡 ㅣ 2023. 10. 24. 09:18

 

CRA(create-react-app) + TypeScript

TypeScript 로 새로운 Create React App 프로젝트를 생성하려면 원하는 디렉터리에서 아래 명령어를 작성한다.

npx create-react-app my-app --template typescript

 

또는 yarn으로 생성하려면 아래 명령어를 입력하면 된다.

yarn create react-app my-app --template typescript

'프로젝트 환경' 카테고리의 다른 글

.env 파일로 GIT Hub에 올릴 부분 제한하기  (0) 2023.08.25
.gitignore 파일 설정  (0) 2023.08.24
CRA(create-react-app) + TypeScript