From 8bc369f828312c7e8787445f2fb50497de2eab37 Mon Sep 17 00:00:00 2001 From: Jason Aden Date: Tue, 15 Jan 2019 09:35:27 -0800 Subject: [PATCH] docs(router): add clarification for Router config (#28159) PR Close #28159 --- packages/router/src/config.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/router/src/config.ts b/packages/router/src/config.ts index f60c3dff45..c7722bc83b 100644 --- a/packages/router/src/config.ts +++ b/packages/router/src/config.ts @@ -23,7 +23,8 @@ import {UrlSegment, UrlSegmentGroup} from './url_tree'; * `Routes` is an array of route configurations. Each one has the following properties: * * - `path` is a string that uses the route matcher DSL. - * - `pathMatch` is a string that specifies the matching strategy. + * - `pathMatch` is a string that specifies the matching strategy. Options are `prefix` (default) + * and `full`. See [Matching Strategy](#matching-strategy) below for more information. * - `matcher` defines a custom strategy for path matching and supersedes `path` and `pathMatch`. * - `component` is a component type. * - `redirectTo` is the url fragment which will replace the current matched segment.