Skip to content

Commit

Permalink
组件
Browse files Browse the repository at this point in the history
  • Loading branch information
foreverzmy committed Mar 8, 2017
1 parent 205b70c commit 4a44631
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Angular2/组件.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

前端中的组件是一堆为了实现同一业务逻辑的代码文件的组合,将相关文件都放到同一个目录中,就形成了一个独立性非常强的组件。

Angular 中使用了Web Component 的标准来实现组件化:[Web Component](前端进阶/WebComponent/README.md)
Angular 中使用了Web Component 的标准来实现组件化:[Web Component](../前端进阶/WebComponent/README.md)

组件是 Angular 应用的最小的逻辑单元,模块则是在组件之上的一层抽象。组件以及其他部分,如指令、管道、服务、路由等都可以被包含到一个模块中,外部通过引用这个模块来使用一系列封装好的功能。

Expand Down

0 comments on commit 4a44631

Please sign in to comment.