<!-#include->指令在角度CLI中无响应

时间:2019-05-30 00:43:31

标签: angular micro-frontend

在Angular7中,我试图将模板从运行在localhost:3002的子应用程序包含到运行在localhost:3001的父应用程序中。

所以我正在尝试通过Include指令实现这一点,我已经添加了

<!--#include file="http://localhost:3001/child" -->

<!--#include virtual="/child" -->

正在加载父母的家庭模板,但是没有运气!

0 个答案:

没有答案