如何在Angular 2中实现多级路由?

时间:2018-11-21 04:17:00

标签: angular angular-ui-router angular2-routing angular2-template angular2-directives

从下面的图片中可以看到,单击组件(1)后,我希望加载组件(2),它运行良好。现在,单击组件(2)后,我要加载组件(3)。 如何做到这一点???请帮忙!!!!

第一个图像链接包含网页的UI。

接下来的4个图像链接包括我的代码。

Web page display

app component

navigation component

home component

App module - Routes

0 个答案:

没有答案