1.首先要widos+r打开管理员运行的命令窗口输入cmd进入黑窗口
2.如果npm版本低于5.2,则全局安装create-react-app,cmd输入npm install -g create-react-app;create-react-app下载完成后,创建文件夹cmd中输入create-react-app my-app
3.完毕以后进入项目在启动项目
`· cd 项目名
· npm start 启动项目
4.在浏览器输入 http://localhost:3000 就可以访问
或者访问 http://192.168.43.152:3000