From 70aec38428651f9f12021f163450aeb507935483 Mon Sep 17 00:00:00 2001 From: Nathan Chase Date: Mon, 8 Aug 2022 04:27:19 -0400 Subject: [PATCH] docs: update vue-router links (#6421) --- docs/content/2.guide/3.directory-structure/10.pages.md | 6 +++--- packages/schema/src/config/router.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/content/2.guide/3.directory-structure/10.pages.md b/docs/content/2.guide/3.directory-structure/10.pages.md index 60781036c9..f8e2755fa5 100644 --- a/docs/content/2.guide/3.directory-structure/10.pages.md +++ b/docs/content/2.guide/3.directory-structure/10.pages.md @@ -322,7 +322,7 @@ Learn more about [``](/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. @@ -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 { } ``` @@ -351,7 +351,7 @@ export default { ```js [nuxt.config] export default defineNuxtConfig({ router: { - // https://router.vuejs.org/api/#routeroptions + // https://router.vuejs.org/api/interfaces/routeroptions.html options: {} } }) diff --git a/packages/schema/src/config/router.ts b/packages/schema/src/config/router.ts index 9a59a23857..16c307be2d 100644 --- a/packages/schema/src/config/router.ts +++ b/packages/schema/src/config/router.ts @@ -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