###版本环境
node 6.0+(v6.11.2)
npm 3.0+(v3.10.10)
|--public
|--index.html 全局入口
|--src 源文件
|--actions 动作
|--assets 静态资源
|--components 组件
|--config 配置
|--constants 常量
|--entity 数据模型
|--reducers 所有store函数
|--routes 路由配置
|--stores store配置
|--utils 工具
|--themes less主题样式
|--views 容器视图
|--Error 错误页面
|--Hello 首页
|--Hello demo
|--app.less Layout入口less
|--app.tsx Layout入口
|--index.tsx 全局入口js
|--index.less 全局入口css
|--config-overrides.js 覆盖create-react-app配置
|--package.json
|--README.md
|--tsconfig.json
|--tsconfig.test.json
|--tslint.json
###配置
$ npm install -g yarn
- Run 'yarn'
- Run 'yarn start'
- Run 'yarn build'
需要安装typeScript的版本
$ npm install -S redux react-redux @types/react-redux(类似)