react 脚手架搭建 下载 npm install -g create-react-app 创建文件 create-react-app my-app // my-app为自己的demo名称 注 目录名不要使用大写 启动 cd my-app yarn start