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

docs: update vue-router links #6421

Merged
merged 2 commits into from
Aug 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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