From: Alex Van Liew Date: Tue, 31 May 2022 13:14:49 +0000 (-0700) Subject: fix(compat): force router-link mode to Vue 3 (#1426) X-Git-Tag: v4.0.16~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=047851299c4c438cc977f6d5d7da455eb69195db;p=thirdparty%2Fvuejs%2Frouter.git fix(compat): force router-link mode to Vue 3 (#1426) --- diff --git a/src/RouterLink.ts b/src/RouterLink.ts index 5c788ba3..68c6dabb 100644 --- a/src/RouterLink.ts +++ b/src/RouterLink.ts @@ -183,6 +183,7 @@ export function useLink(props: UseLinkOptions) { export const RouterLinkImpl = /*#__PURE__*/ defineComponent({ name: 'RouterLink', + compatConfig: { MODE: 3 }, props: { to: { type: [String, Object] as PropType,