创建react项目脚手架工具 安装到全局 npm i react-frame-cli -g 初始化项目 react-frame-cli init [projectName] 安装依赖 npm i 启动运行 npm start