快速开始react项目

1、运行环境要在node下。 2、全局安装create-react-app   npm install -g create-react-app 3、create-react-app myapp           /* 使用命令创建应用,myapp为项目名称 */ 4、npm start      /*启动项目*/ 5、会看到浏览器打开:http://localhost:3000/     提示!
相关文章
相关标签/搜索