로토의 블로그
  • Resume
  • Blog
  • Github
  • Twitter
  • Linkedin

cra

A collection of 1 post

create-react-app

이미 생성된 create-react-app에 typescript 적용하기

create-react-app 2.1.0 버전부터 기본으로 typescript를 지원한다. https://create-react-app.dev/docs/adding-typescript 를 참고해서 프로젝트를 새로 만들고 코드만 옮기는 것이 나을 수도 있다. react-scripts 의존성 바꾸기 package.json의 dependencies에 있는 react-scripts를 react-scripts-ts

  • 로토
    로토
2 min read
로토의 블로그 © 2019
Latest Posts Facebook Twitter Ghost