ryxxn

[React] typescript로 리액트 시작하기 본문

React

[React] typescript로 리액트 시작하기

drxxn 2023. 7. 30. 16:30

리액트와 타입스크립트를 같이 사용하고 싶다면

 

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

 

위와 같이 기존 프로젝트 생성 명령어 뒤에 --template typescript만 붙여주면 된다.

 

 

리액트 시작하는 법이 궁금하다면 아래 글을 참고하자.

 

 

[React] 리액트 프로젝트 시작하기

 

drxxn.tistory.com

 

 

'React' 카테고리의 다른 글

[React] 리액트에서 setInterval 사용하기  (0) 2023.08.07
[React] 리액트 프로젝트 시작하기  (0) 2023.07.30