安装react脚手架
npm i -g create-react-app
创建react项目
npx create-react-app react-project /*react-project为项目名*/