Skip to content

Commit e3dcae7

Browse files
authored
Merge pull request cntehang#9 from cntehang/fe-practoces
fe practoces
2 parents 4c9cc6e + 5b4baa2 commit e3dcae7

File tree

11 files changed

+12
-6
lines changed

11 files changed

+12
-6
lines changed

frontend/.DS_Store

4 KB
Binary file not shown.

frontend/README.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,15 @@
44

55
## 文档说明
66

7-
- [ts最佳实践](./ts-best-practices.md): 有关ts的代码规范
8-
- [ide配置](./ide-setup.md): 这里是前端项目的模板文件以及ide配置信息
9-
- [web项目相关说明](./web-project): 这里是web项目的相关说明以及代码规范,组件说明等等,包括[项目最佳实践](./web-project/project-best-practices.md): 这是项目中用到的相关组件的说明 和 [简单列表查询页的一些组件说明](./web-project/simple-query-page.md): 这是web项目中使用的列表查询组件的一些说明
10-
- [ionic项目说明](./ionic-project): 这是ionic app项目的一些信息
11-
- [angular最佳实践](./angular-best-practices.md): 这是有关angular使用的一些最佳设置 Here is a set of best practices using Angul
127
- [前端代码规范](./code-standards): 这是一些有关项目代码规范的配置信息说明
8+
- [注释文档](./code-standards/code-documentation.md)
9+
- [ide配置](./code-standards/ide-setup.md)
10+
- [ts规范和设置](./code-standards/typescript-coding-standard.md)
11+
- [git忽略文件模板](./code-standards/sample_dot_ignore.md)
12+
- [前端代码最佳实践](./best-practices): 这是一些有关 Angular(Ionic) 项目代码的最佳实践
13+
- [ng最佳实践](./best-practices/angular-best-practices.md)
14+
- [ts最佳实践](./best-practices/ts-best-practices.md)
15+
- [样式书写规范](./best-practices/样式书写规范.md)
16+
- [ionic项目相关](./best-practices/ionic-project): 这是ionic app项目的一些说明以及代码规范等等。
17+
- [web项目相关](./best-practices/ionic-project): 这里是web项目的相关说明以及代码规范,组件说明等等
18+
- [前端相关博客](./blog): 这是组内分享的一些相关博客

frontend/ts-best-practices.md renamed to frontend/best-practices/ts-best-practices.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# TypeScript Best Practices
22

3-
- Avoid inheritance and prefer composition.
3+
- 重组合轻继承.
44
- 使用 `Object.keys(myObject).forEach(key=> {...})` 代替 `for in`.
55
-`Classes` 中的一些约定
66
- 所有不需要对外部可见的成员应该使用 `private` 修饰
File renamed without changes.

0 commit comments

Comments
 (0)