Before starting practice to ensure that the development environment to build React single page, if you do not build a good development environment of the venue to a friend how to build a single page React development environment .
React first create a project (project name using lowercase name) :( win10 command at the command line mode to open the line There are many ways) such as WINDOWS key + R, it will pop up a window in the lower left corner
Enter cmd press Enter to open a command line mode.
Enter the command line
create-react-app project name
When the command line prompt Happy hacking! You are prompted to create a successful project.
Enter the following line into the project created
cd test-antd
Antd component library installed ants gold dress at the command line mode
yarn add antd 或者 npm install antd --save
Finally, to test whether the normal operation of the project
yarn start 或 npm start
When you knock up this line of command, the page is so successful
Next, open Antd component library official website