From 8d644903bc0b62085dc0de4cd1148f9cadc78ae8 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Wed, 15 Mar 2023 15:36:33 +0000 Subject: [PATCH] docs: update custom routing link --- docs/2.guide/2.directory-structure/1.pages.md | 2 +- docs/2.guide/3.going-further/8.custom-routing.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/2.guide/2.directory-structure/1.pages.md b/docs/2.guide/2.directory-structure/1.pages.md index a487788a5..d39c493ee 100644 --- a/docs/2.guide/2.directory-structure/1.pages.md +++ b/docs/2.guide/2.directory-structure/1.pages.md @@ -361,4 +361,4 @@ function navigate(){ As your app gets bigger and more complex, your routing might require more flexibility. For this reason, Nuxt directly exposes the router, routes and router options for customization in different ways. -:ReadMore{link="/docs/guide/going-further/custom-router"} \ No newline at end of file +:ReadMore{link="/docs/guide/going-further/custom-routing"} diff --git a/docs/2.guide/3.going-further/8.custom-routing.md b/docs/2.guide/3.going-further/8.custom-routing.md index c2b5f1d2b..8db7f09ac 100644 --- a/docs/2.guide/3.going-further/8.custom-routing.md +++ b/docs/2.guide/3.going-further/8.custom-routing.md @@ -9,7 +9,7 @@ In Nuxt 3, your routing is defined by the structure of your files inside the [pa ### Using router config -Using [router options](/docs/2.guide/3.going-further/12.custom-router#router-options), you can optionally override or extend your routes using a function that accepts the scanned routes and returns customized routes. +Using [router options](/docs/guide/going-further/custom-routing#router-options), you can optionally override or extend your routes using a function that accepts the scanned routes and returns customized routes. If it returns `null` or `undefined`, Nuxt will fall back to the default routes (useful to modify input array).