react-v16 react-router-v4 redux webpack
更多版本信息查看 package.json 文件
yarn install
yarn build:dll
yarn start
yarn run build
yarn run build -- -r
yarn 是用来代替 npm 的 node 包管理工具, 与 npm 有类似的命令,具体安装方式及使用方法查看 yarn 命令使用
.
├── README.md
├── babel.config.js
├── build # 构建结果
├── dll # 生成的 dll
├── lint-staged.config.js
├── report # 打包结果
├── scripts # 构建相关脚本
│ ├── build.js
│ ├── config
│ ├── dll-version-check.js
│ ├── dll.js
│ ├── start.js
│ └── utils
├── src
│ ├── bootstrap.tsx # 启动文件
│ ├── index.html
│ ├── index.tsx # 入口文件
│ └── store # store 相关封装
│ ├── StoreNames.ts
│ ├── createSlice.ts
│ ├── createStore.ts
│ ├── index.ts # store 对接入口
│ └── initImmer.ts
│ ├── modules # 业务模块
│ │ ├── remote
│ │ └── root
│ ├── components # 抽象的组件
│ │ └── DynamicSystem
├── tsconfig.json
├── tsconfig.prod.json
├── typings
└── yarn.lock