오류 : 경로 '{path : "teams /", redirectTo : "all"}'구성이 잘못되었습니다. 'pathMatch'를 제공해주십시오. 'pathMatch'의 기본값은 'prefix'이지만 종종 'full'을 사용합니다.pathMatch 라우팅 오류
오류 마사지였습니다. 여기
이 app.module.ts 내 구문입니다const routes = [
{ path: 'teams', component: TabsComponent, children: [
{ path: '', redirectTo: 'all', pathMacth: 'full' },
{ path: ':side', component: ListComponent }
] },
{ path: 'new-team', component: CreateTeamComponent },
{ path: '**', redirectTo: '/teams' }
]
왜 나는 여전히 오류가 있습니까 ??
당신은 pathMatch에 오타가 있습니다. –