daffDataPathUrlMatcher

A UrlMatcher that does an exact match against a path stored in the special configuration fields that External Router stores on a Route's data.

 export const routes: Routes = [
   {
     matcher: daffDataPathUrlMatcher,
     data: {
       daffExternalRouteType: "CATEGORY",
     },
     loadChildren: () => import('./category/category.module').then((m) => m.ShopCategoryModule),
   }
]

daffInsertDataPathStrategy DaffRouteWithDataPath

Graycore, LLC © 2018 - 2024. Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.