这是一个使用yeoman来搭建的快速配置项目环境的工具,基于webpack的react开发
npm install -g yo
npm install -g lewisye-react
进入目标目录 使用命令 yo react
这个命令会自动安装依赖(npm install),速度比较慢。可以自己终止,或者换用 cnpm 自己安装依赖。
模拟具有pure和complete两个版本。
pure 为简单版本只有基础的react
complete 版本具有react+redux+readux-saga+antd
npm run dev