The page is as follows:
http://localhost:4200/powertools-spa/en/USD/jerryproduct/3881018/Angle%20Grinder%20RT-AG%20115
The template id is: ProductDetailsPageTemplate
In the product detail page module, we call RouterModule.forChild to specify that the route is matched and the loaded Component is PageLayoutComponent:
I added a div statement in the html file of this Component as a printout:
Run-time effect:
This ProductDetailsPageTemplate appears under the router-outlet instruction, and is obviously loaded via routing:
In the layout config configuration file, you can delete a part of its slots for a test:
For example, only the Summary slot is left:
The effect is as follows:
More original articles by Jerry, all in: "Wang Zixi":
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。