项目搭建
- 工程配置(lint、husky等)
- Normalize.css (消除浏览器差异)
Normalize.css makes browsers render all elements more consistently and in line with modern standards. It precisely targets only the styles that need normalizing.
- lint
- husky
- prettier
- core-js(polyfill)
Prettier for formatting and linters for catching bugs
- typescript tsconfig.json
- 代码设计(数据层、视图层、控制层)
- 状态管理
- 路由
- 基础组件
- 主题
- 多语言
- 开发流程
- 测试流程
- 构建/打包流程
- 部署流程
其他 代码风格
- module export 最好不要export default, 因为export * 不包括default