更新时间:2021-07-25 17:16:34
您的路径应定义为 aboutme
,
Your path should be defined as just aboutme
,
const appRouting: Routes = [
{ path: '', redirectTo: 'aboutme', pathMatch: 'full'},
{ path: 'aboutme', component: AboutmeComponent},
{ path: 'component/dev-angularjs', component: DevAngularjsComponent}
];