Reacat do small projects as well as the process learned (unfinished)

Requirements: Make a react framework of the front frame (including routing, back-end request, etc.) is probably doing something right shows a left navigation component of the page

surroundings:

Software: vscode

Front-end environment: node (lazy installation package with msi, not lazy to use zip installation package, what is the difference in performance, I do not know)

1, using the create-react-app to build small frame (this time encountered the first problem, you may experience this problem in the company, namely the article https://www.cnblogs.com/heibo/p /12012357.html)

After you are able to use npm

In vscode in operation, open the console, select a folder to open

a, enter the command npm install -g create-react-appdownload dependent scaffolding

b, using scaffolding react command generates a basic frame   create-react-app my-app(项目名称)

2, it

 

 

Guess you like

Origin www.cnblogs.com/heibo/p/12015260.html