安装脚手架:
npm install create-react-app -g 全局安装react脚手架
创建项目:
create-react-app demo01(项目名)
cd demo01进入项目
npm start 运行项目