我有一个angular2应用程序,其中包含导航栏,侧边栏和内容区域:http://localhost:4200/

当单击导航栏/侧边栏项目时,我希望内容区域从我们将设置的其他angular2应用程序中获取内容,有点像前端微服务方法 .

到目前为止,我可以加载它们的唯一方法是在iframe中:

<iframe src="http://localhost:3000/" frameborder="0" scrolling="no" seamless="seamless" style="position: absolute; width: 100%; height: 100%; border: none; overflow-y: hidden;"></iframe>

有没有其他方法可以将其他angular2应用加载到没有iFrames的主应用中?这些ui应用程序是否可以导出它的主要组件,然后导入它以便在主应用程序中使用?