less than 1 minute read

Create React App を使って Typescript プロジェクトを生成する方法は簡単です。

① Create React App 設置

npm install -g create-react-app

② Typescript テンプレート作成

npx create-react-app プロジェクト名 --template typescript

+ 私がよく使うライブラリー

npm i --save-dev @types/styled-components
npm i styled-components
npm i recoil

コメントする