From the course: React: Building Progressive Web Apps (PWAs)

Unlock the full course today

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

Using create-react-app

Using create-react-app - React.js Tutorial

From the course: React: Building Progressive Web Apps (PWAs)

Start my 1-month free trial

Using create-react-app

- [Instructor] The most popular tool for generating a React application is Create React App. It provides all of the scaffolding for a React project. And what's extra cool about Create React App is that it's a progressive web app generator too. We'll use this to generate our project. Let's get started by installing Create React App. We'll need to install it globally. I'm on a Mac, so I'm going to run sudo npm install dash g create react app. And if you're on a PC, you'll run your command prompt as an administrator to accomplish the same thing. Once I install this globally, I can use this to generate the project anywhere on my computer using the Create React App command. So, let's get started by navigating into my exercise files folder. So, exercise files. I'm then going to move into the chapter two folder. In chapter two, if I did an ls command, I'll see that I have all of these different chapters. I'll cd into oh two oh one. Cd start. So, this is where I want to start, this I where I…

Contents