1.安装 npm install -g create-react-app 2.cd到指定的文件目录 3.创建项目名称 4.根据提示就可以运行项目了 转载于:https://www.cnblogs.com/chenmiaosong/p/9581433.html