]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
fix(compat): force router-link mode to Vue 3 (#1426)
authorAlex Van Liew <snoozbuster@outlook.com>
Tue, 31 May 2022 13:14:49 +0000 (06:14 -0700)
committerGitHub <noreply@github.com>
Tue, 31 May 2022 13:14:49 +0000 (15:14 +0200)
src/RouterLink.ts

index 5c788ba36207d57696d291df8ed2a38bcaf83af8..68c6dabb71f89ea8b82dd2c6dde030074e588e49 100644 (file)
@@ -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<RouteLocationRaw>,