create-react-app快速搭建react-app npm i create-react-app -g 全局安装 create-react-app mydemo 创建一个项目,安装依赖 cd mydemo 进入mydemo目录 yearn start 运行