$ cnpm install cra-template-typescript
This is the official TypeScript template for Create React App.
To use this template, add --template typescript when creating a new app.
For example:
npx create-react-app my-app --template typescript
# or
yarn create react-app my-app --template typescript
For more information, please refer to:
Copyright 2013 - present © cnpmjs.org | Home |