Initializing the project

We are going to use create-react-app in order to create a new project. Let's initialize the project now:

  1. Run the following command:
> npx create-react-app chapter11_1
  1. Then, remove src/App.css, as we are not going to need it.
  2. Next, edit src/index.css, and adjust the margin as follows:
    margin: 20px;
  1. Finally, remove the current src/App.js file, as we are going to create a new one in the next step.

Now, our project has been initialized, and we can start defining the app structure.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.16.81.94