snapshot of https://github.com/TanStack/query.git (main, 2026-09-16; blobs > 131072B omitted)
This commit is contained in:
25
docs/framework/vue/guides/window-focus-refetching.md
Normal file
25
docs/framework/vue/guides/window-focus-refetching.md
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
id: window-focus-refetching
|
||||
title: Window Focus Refetching
|
||||
ref: docs/framework/react/guides/window-focus-refetching.md
|
||||
replace: { '@tanstack/react-query': '@tanstack/vue-query' }
|
||||
---
|
||||
|
||||
[//]: # 'Example'
|
||||
|
||||
```js
|
||||
const vueQueryPluginOptions: VueQueryPluginOptions = {
|
||||
queryClientConfig: {
|
||||
defaultOptions: {
|
||||
queries: {
|
||||
refetchOnWindowFocus: false,
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
app.use(VueQueryPlugin, vueQueryPluginOptions)
|
||||
```
|
||||
|
||||
[//]: # 'Example'
|
||||
[//]: # 'ReactNative'
|
||||
[//]: # 'ReactNative'
|
||||
Reference in New Issue
Block a user