Skip to content

Commit 4f9f7f4

Browse files
committed
Merge pull request #51 from ianschmitz/patch-1
Add Create React App to starter section
2 parents a551be3 + 4daa080 commit 4f9f7f4

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,10 @@ Translations: [中文翻译](https://github.com/fi3ework/blog/tree/master/react-
6767

6868
## React + TypeScript Starter Kits
6969

70-
1. based on `create-react-app`
70+
1. [Create React App v2.1+ with Typescript](https://facebook.github.io/create-react-app/docs/adding-typescript) - see accompanying blogpost for migrating from [`create-react-app-typescript`](https://vincenttunru.com/migrate-create-react-app-typescript-to-create-react-app/)
71+
2. Custom scripts that work with `create-react-app` and support Typescript:
7172

72-
- [wmonk](https://github.com/wmonk/create-react-app-typescript)'s script is officially recommended but has very strict tslint rules
73+
- [wmonk](https://github.com/wmonk/create-react-app-typescript)'s script is a fork of create-react-app but has very strict tslint rules
7374

7475
> In your command line: `create-react-app my-app --scripts-version=react-scripts-ts`
7576
@@ -80,9 +81,9 @@ Translations: [中文翻译](https://github.com/fi3ework/blog/tree/master/react-
8081
> In your command line: `create-react-app my-app --scripts-version=@jpavon/react-scripts-ts`
8182
8283

83-
2. <https://github.com/sw-yx/create-react-app-parcel-typescript> sets up a React + TypeScript app with Parcel :)
84-
3. <https://github.com/basarat/typescript-react/tree/master/01%20bootstrap> for manual setup of React + TypeScript + Webpack + Babel
85-
4. [webpack config tool](https://webpack.jakoblind.no/) is a visual tool for creating webpack projects with React and TypeScript
84+
3. <https://github.com/sw-yx/create-react-app-parcel-typescript> sets up a React + TypeScript app with Parcel :)
85+
4. <https://github.com/basarat/typescript-react/tree/master/01%20bootstrap> for **manual setup** of React + TypeScript + Webpack + Babel
86+
5. [webpack config tool](https://webpack.jakoblind.no/) is a visual tool for creating webpack projects with React and TypeScript
8687

8788
In particular, make sure that you have `@types/react` and `@types/react-dom` installed. [Read more about the DefinitelyTyped project if you are unfamiliar](https://definitelytyped.org/). There are also many React + TypeScript boilerplates, please see [our Resources list below](https://github.com/sw-yx/react-typescript-cheatsheet#recommended-react--typescript-codebases-to-learn-from).
8889

0 commit comments

Comments
 (0)