From the course: React: Using TypeScript (2019)

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Initialize a React project

Initialize a React project

From the course: React: Using TypeScript (2019)

Start my 1-month free trial

Initialize a React project

- [Instructor] If you already have Create React app install and know how to initialize a React project, feel free to skip this video as this is what we'll do in this video. Otherwise, follow along. Also, make sure you have the latest version of Create React app, as typescript is literally supported from version 2.1 and above. So lets go ahead and open DS code. Once I'm here, I'm going to use the terminal, so if you don't have it open like me, click on view, and then click on terminal and then the first thing we're going to do is install Create React app. So NPM install create react app. And I already have the latest version installed so its going to be very quick for me. So make sure you are at version 2.1 and above. If you don't, then make sure to reinstall it again. Once we have that, what we're going to do is make sure we are on the desktop 'cause I want to create a project on my desktop or whichever directory you want to create your new project so I'm going to do CD desktop and…

Contents