How to Create a React App Template

Eugene Yeboah

Written by:

Eugene Yeboah • October 5, 2021

How to Create a React App Template

We'll be using the create-react-app command to create a react application template. You'll need two prerequisites installed:

  1. Node.js
  2. npm (Node.js package manager)

To test that you have Node.js and npm correctly installed, type this command in your terminal: [code] node -v [/code] [code] npm -v [/code] If node and NPM are installed, these commands will return a version number (denoting the version currently installed in your computer). You can now create a new React application template with the following command: [code] npx create-react-app name-of-your-app-goes-here [/code]