Skip to content

Commit 4d645ed

Browse files
committed
Add Create React App video
1 parent d526725 commit 4d645ed

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/pages/installation/create-react-app.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,20 @@ yarn create react-app your-app-name --typescript
3434

3535
## Add TypeScript to an Existing Create React App Application
3636

37+
### Using NPM
38+
3739
```
3840
npm install --save typescript @types/node @types/react @types/react-dom @types/jest
3941
```
4042

43+
or
44+
45+
### Using Yarn
46+
4147
```
4248
yarn add typescript @types/node @types/react @types/react-dom @types/jest
4349
```
4450

4551
After installing these (and any other [types](http://definitelytyped.org/) you may need), rename your `.js` files to `.tsx` and restart your development server.
52+
53+
[This video](https://www.youtube.com/watch?v=wvvNUr4lgaM) runs through the instructions on this page.

0 commit comments

Comments
 (0)