我创建了一个自定义插座并将其放置在app.component.html
<app-outlet></app-outlet>
<cx-storefront>Loading...</cx-storefront>
该模板app-outlet.component.html
包含
<ng-template cxOutletRef="CustomOutletSlot" cxOutletPos="replace">
// this replace outlet works in storefront
</ng-template>
在店面中,页面正在按预期加载。当然,它也显示在 SmartEdit 中,但上下文菜单Drag & Drop
、Edit
和Remove
没有显示?
有什么解决方法吗?在我的情况下,我仍然需要使用自定义插座。