有没有办法让Angular 2组件根据我想放置的位置使用许多模板文件?
例如,我有一个login组件,我想在我的网站上放两次不同的设计.
login
有没有办法可以将模板传递给组件?
angular2-template angular
angular ×1
angular2-template ×1