Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
docs: update vue-router links (#6421)
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanchase authored Aug 8, 2022
1 parent 9971fad commit 70aec38
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docs/content/2.guide/3.directory-structure/10.pages.md
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ Learn more about [`<NuxtLink>`](/api/components/nuxt-link) usage.

## Router options

It is possible to set default [vue-router options](https://router.vuejs.org/api/#routeroptions).
It is possible to set default [vue-router options](https://router.vuejs.org/api/interfaces/routeroptions.html).

**Note:** `history` and `routes` options will be always overridden by Nuxt.

Expand All @@ -333,7 +333,7 @@ This is the recommended way to specify router options.
```js [app/router.options.ts]
import type { RouterConfig } from '@nuxt/schema'

// https://router.vuejs.org/api/#routeroptions
// https://router.vuejs.org/api/interfaces/routeroptions.html
export default <RouterConfig>{
}
```
Expand All @@ -351,7 +351,7 @@ export default <RouterConfig>{
```js [nuxt.config]
export default defineNuxtConfig({
router: {
// https://router.vuejs.org/api/#routeroptions
// https://router.vuejs.org/api/interfaces/routeroptions.html
options: {}
}
})
Expand Down
2 changes: 1 addition & 1 deletion packages/schema/src/config/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default {
*
* For more control, you can use `app/router.optionts.ts` file.
*
* @see [documentation](https://router.vuejs.org/api/#routeroptions)
* @see [documentation](https://router.vuejs.org/api/interfaces/routeroptions.html)
* @type {import('../src/types/router').RouterConfigSerializable}
*
* @version 3
Expand Down

0 comments on commit 70aec38

Please sign in to comment.