diff --git a/docs/getting-started/devtools.md b/docs/getting-started/devtools.md index f595d14..5c33639 100644 --- a/docs/getting-started/devtools.md +++ b/docs/getting-started/devtools.md @@ -2,6 +2,13 @@ Wave your hands in the air and shout hooray because Vue Query comes with dedicat When you begin your Vue Query journey, you'll want these DevTools by your side. They help visualize all of the inner workings of Vue Query and will likely save you hours of debugging if you find yourself in a pinch! +**The only thing you need to do is to install official [Vue Devtools](https://devtools.vuejs.org/guide/installation.html)** + +Vue Query will seemingly integrate with official devtools, adding custom inspector and timeline events. +Devtools would be treeshaken from production bundles by default. + +# **Deprecated**: standalone devtools + ## Import the Devtools The DevTools are bundle split into the vue-query/devtools package. No need to install anything extra, just: @@ -68,7 +75,7 @@ export default defineComponent({ ``` diff --git a/examples/2.x-basic/src/App.vue b/examples/2.x-basic/src/App.vue index e50720b..f9db526 100644 --- a/examples/2.x-basic/src/App.vue +++ b/examples/2.x-basic/src/App.vue @@ -1,13 +1,12 @@ diff --git a/examples/multi-client/vite.config.ts b/examples/multi-client/vite.config.ts index 0a8bd80..1b18f9d 100644 --- a/examples/multi-client/vite.config.ts +++ b/examples/multi-client/vite.config.ts @@ -4,4 +4,6 @@ import vue from "@vitejs/plugin-vue"; // https://vitejs.dev/config/ export default defineConfig({ plugins: [vue()], + // For dev purpose, when using `npm link`. This breaks codesandbox somehow. + // optimizeDeps: { exclude: ["vue-query", "vue-demi"] }, }); diff --git a/examples/multi-page/src/App.vue b/examples/multi-page/src/App.vue index d8bc809..a57a4fc 100644 --- a/examples/multi-page/src/App.vue +++ b/examples/multi-page/src/App.vue @@ -1,11 +1,10 @@ diff --git a/examples/simple/vite.config.ts b/examples/simple/vite.config.ts index 0a8bd80..1b18f9d 100644 --- a/examples/simple/vite.config.ts +++ b/examples/simple/vite.config.ts @@ -4,4 +4,6 @@ import vue from "@vitejs/plugin-vue"; // https://vitejs.dev/config/ export default defineConfig({ plugins: [vue()], + // For dev purpose, when using `npm link`. This breaks codesandbox somehow. + // optimizeDeps: { exclude: ["vue-query", "vue-demi"] }, }); diff --git a/examples/suspense/src/App.vue b/examples/suspense/src/App.vue index af4ed51..c1a01a7 100644 --- a/examples/suspense/src/App.vue +++ b/examples/suspense/src/App.vue @@ -1,12 +1,11 @@ @@ -24,7 +23,6 @@ export default defineComponent({
Loading...
-