摘要: 在angularjs中,Component是一种特殊的directive,更适合组件化的app架构 Component的优点: 比普通directive要简单很多 更加严谨,更加规范化 更加适合组件化架构 component更容易升级到angular2 不使用Component的情况 需要在编译阶段 阅读全文
posted @ 2018-05-31 10:45 红眼睛的兔子 阅读(272) 评论(0) 推荐(0) 编辑