From the course: React: Building Progressive Web Apps (PWAs)
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
Using create-react-app - React.js Tutorial
From the course: React: Building Progressive Web Apps (PWAs)
Using create-react-app
- One of the most popular tools for generating a React application is Create React App. It provides all of the scaffolding for React Project. And what's extra cool about Create React App is that it's a progressive web app generator as well. So let's go ahead and use this to generate our project. We're going to go to our terminal and we'll make sure that we're navigated to that 02_01 and then we want to make sure we're in the start folder. And this is where we're going to generate our project using NPX. So NPX is the node package runner, we're going to use this alongside the create-react-app command and then we'll also follow this up with the name of our application, which is just going to be called my-application. So it takes a few minutes to make this work, but it's installing really everything we need to get started with our project. Okay, so now that that's complete, we can change directory CD into the my application folder. Then once we're in there, we can type ls and this will…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.