mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 15:15:19 +00:00
fix(nuxt): do not provide default prefetchOn
prop (#28630)
This commit is contained in:
parent
f8d23e210d
commit
4dfbec8e0f
@ -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