Skip to content

Commit 0478512

Browse files
authored
fix(compat): force router-link mode to Vue 3 (#1426)
1 parent 64261f9 commit 0478512

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/RouterLink.ts

+1
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ export function useLink(props: UseLinkOptions) {
183183

184184
export const RouterLinkImpl = /*#__PURE__*/ defineComponent({
185185
name: 'RouterLink',
186+
compatConfig: { MODE: 3 },
186187
props: {
187188
to: {
188189
type: [String, Object] as PropType<RouteLocationRaw>,

0 commit comments

Comments
 (0)