, path
, matcher
, ResultList
. search
, , , .
{
component: ResultListComponent,
matcher: (url: UrlSegment[]) => {
console.log(url);
return url.length === 1 && url[0].path.indexOf('search?query=') > -1 ? ({consumed: url}) : null;
}
},
{
path: 'search',
component: SearchComponent,
}