1.安装脚手架(全局安装)
cnpm install -g create-react-app
2.创建项目
create-react-app 01reactapp(项目名称可以白定义)
react cnpm 安装方式
原文:https://www.cnblogs.com/tingshengshiyu/p/14154604.html