标签: angular micro-frontend
在Angular7中,我试图将模板从运行在localhost:3002的子应用程序包含到运行在localhost:3001的父应用程序中。
localhost:3002
localhost:3001
所以我正在尝试通过Include指令实现这一点,我已经添加了
Include
<!--#include file="http://localhost:3001/child" -->
或
<!--#include virtual="/child" -->
正在加载父母的家庭模板,但是没有运气!