diff --git a/docs/3.api/1.components/4.nuxt-link.md b/docs/3.api/1.components/4.nuxt-link.md index 76050946bd..35acea9297 100644 --- a/docs/3.api/1.components/4.nuxt-link.md +++ b/docs/3.api/1.components/4.nuxt-link.md @@ -271,7 +271,8 @@ export default defineNuxtConfig({ prefetchedClass: undefined, // can be any valid string class name trailingSlash: undefined // can be 'append' or 'remove' prefetch: true, - prefetchOn: { visibility: true } + prefetchOn: { visibility: true }, + whitelist: ['nuxtjs.org', '.nuxt.com'] } } } @@ -306,6 +307,7 @@ interface NuxtLinkOptions { visibility: boolean interaction: boolean }> + whitelist?: string[] } function defineNuxtLink(options: NuxtLinkOptions): Component {} ``` @@ -318,5 +320,6 @@ function defineNuxtLink(options: NuxtLinkOptions): Component {} - `prefetch`: Whether or not to prefetch links by default. - `prefetchOn`: Granular control of which prefetch strategies to apply by default. - `prefetchedClass`: A default class to apply to links that have been prefetched. +- `whitelist`: A white list of domain that should be not set noreferrer. :link-example{to="/docs/examples/routing/pages"}