In progress...
目录结构参照: https://github.com/react-boilerplate/react-boilerplate
typescript配置参照:https://github.com/Microsoft/TypeScript-React-Starter
启动开发环境: yarn dev
npm start
使用pm2
npm run build
pm2 start process.json
- Redux状态管理
- 主体页面
- SSR - 服务端渲染
- 响应式
- Production Build
yarn config set sass_binary_site https://npm.taobao.org/mirrors/node-sass/ [--global/-g]
或参考:lmk123/blog#28
修改node_modules/html2json/src/html2json.js的115行为:
var parent = bufArray[0] || results;