Skip to content

Commit

Permalink
docs(composition-api): add missing "to" in useLink section (#1351)
Browse files Browse the repository at this point in the history
  • Loading branch information
docnoe committed Mar 22, 2022
1 parent f672bf0 commit 76ada3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/advanced/composition-api.md
Expand Up @@ -91,7 +91,7 @@ Composition API guards can also be used in any component rendered by `<router-vi

## `useLink`

Vue Router exposes the internal behavior of RouterLink as a Composition API function. It gives access the same properties as the [`v-slot` API](../../api/#router-link-s-v-slot):
Vue Router exposes the internal behavior of RouterLink as a Composition API function. It gives access to the same properties as the [`v-slot` API](../../api/#router-link-s-v-slot):

```js
import { RouterLink, useLink } from 'vue-router'
Expand Down

0 comments on commit 76ada3f

Please sign in to comment.