How to react to create a project from 0

1. Make sure that the local computer and install the yarn node:

 

2. Under require installation folder directory, enter: create-react-app + (project name):

PS: software for use on the map webStorm

 

3. At this point a simple react project has been created,  the file in the project directory react meaning:

  ①.  Public: index.html folder is stored in the directory, which is the root page of the seat React

  ② src:. Js file for storage, which is the main area of ​​project development

  ③ package.json:. For recording program information, an external lead-in information and the like dependencies

 

 

Guess you like

Origin www.cnblogs.com/oulae/p/11183869.html