新建react项目

npm install -g create-react-app

create-react-app myapp   /* 使用命令创建应用,myapp为项目名称 */

npm start    /*启动项目*/

npm install react-redux --save

posted @ 2018-07-09 11:25  雾雨云露  阅读(68)  评论(0编辑  收藏  举报