Skip to content

Commit

Permalink
fix(compat): force router-link mode to Vue 3 (#1426)
Browse files Browse the repository at this point in the history
  • Loading branch information
snoozbuster committed May 31, 2022
1 parent 64261f9 commit 0478512
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/RouterLink.ts
Expand Up @@ -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>,
Expand Down

0 comments on commit 0478512

Please sign in to comment.