I wrote the route in app-routing.module.ts:
{
path: "about",
component: AboutComponent,
children: [
{
path: "about/componyinstroduction",
loadChildren: "../pages/about/about.module-sharpComponyinstroductionComponent"
},
{
path: "about/teaminstroductionComponent",
loadChildren: "../pages/about/about.module-sharpTeaminstroductionComponent"
},
{
path: "about/honourComponent",
loadChildren: "../pages/about/about.module-sharpHonourComponent"
},
{
path: "about/structureComponent",
loadChildren: "../pages/about/about.module-sharpStructureComponent"
},
{
path: "about/structureComponent",
loadChildren: "../pages/about/about.module-sharpStructureComponent"
},
]
html:
:
so there is still something wrong with my route. Please take a look at it. Thank you very much
.