mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-21 21:25:11 +00:00
fix(nuxt): do not provide default prefetchOn
prop (#28630)
This commit is contained in:
parent
3e713d31dc
commit
66f4c5553e
@ -253,10 +253,7 @@ export function defineNuxtLink (options: NuxtLinkOptions) {
|
||||
},
|
||||
prefetchOn: {
|
||||
type: [String, Object] as PropType<NuxtLinkProps['prefetchOn']>,
|
||||
default: options.prefetchOn || {
|
||||
visibility: true,
|
||||
interaction: false,
|
||||
} satisfies NuxtLinkProps['prefetchOn'],
|
||||
default: undefined,
|
||||
required: false,
|
||||
},
|
||||
noPrefetch: {
|
||||
|
Loading…
Reference in New Issue
Block a user