From: Eduardo San Martin Morote Date: Sat, 18 Oct 2025 08:56:50 +0000 (+0200) Subject: chore: note X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d247ebe5da9c969c5418222d0d5b4159d44b9cd9;p=thirdparty%2Fvuejs%2Frouter.git chore: note --- diff --git a/packages/router/src/experimental/router.spec.ts b/packages/router/src/experimental/router.spec.ts index 2c44b759..a615562c 100644 --- a/packages/router/src/experimental/router.spec.ts +++ b/packages/router/src/experimental/router.spec.ts @@ -104,6 +104,9 @@ const childRawRecord: EXPERIMENTAL_RouteRecord_Matchable = { parent: parentRecord, } +// NOTE: this redirect is not needed, the router should match by default the child +// and it's better to simply not name the route to make it non matchable with +// the new router const parentWithRedirectRawRecord: EXPERIMENTAL_RouteRecord_Matchable = { name: 'parent-with-redirect', path: new MatcherPatternPathStatic('/parent-with-redirect'),