- Open the chapter12/start/recipe1 folder in your console.
- Install the npm package globally:
npm install -g create-react-app
- Create a new app by typing the following command in your console:
create-react-app
The preceding command will create the initial project in the current directory (chapter12/start/recipe1).
Note the following helpful message in the console: Installing packages. This might take a couple minutes, followed by Installing react, react-dom, and react-scripts... on the next row of our console.
- Run the npm start command in your console. A few lines will be logged to the console, with the general information about the folder it is being served from. You will also get a few other notifications in the co ...