【发布时间】:2019-11-08 00:51:17
【问题描述】:
The app.module has the admin-layout.module.
The admin-layout.module has the parameters.module.
The parameters.module has the soa-date.Component.
But the property.component is in the admin-layout.module
我需要将 <app-soa-date></app-soa-date> 选择器放在 property.component 中,但它给了我一个错误 app-soa-date is not a known element。
<div class="card-body">
<div *ngIf="showSoaDate">
<app-soa-date></app-soa-date>
</div>
<div *ngIf="showOther">
Other
</div>
</div>
谢谢。
【问题讨论】:
标签: javascript angular typescript ecmascript-6 single-page-application