File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
packages/devtools-kit/src/api Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,15 @@ export async function registerPlugin(options: { app: VueAppInstance, api: DevToo
1414 const { app, api } = options
1515 const plugins = devtoolsState . pluginBuffer . filter ( ( [ plugin ] ) => plugin . app === app )
1616 plugins . forEach ( async ( [ plugin , setupFn ] ) => {
17+ if ( plugin . packageName === 'vue-query' ) {
18+ /**
19+ * Skip it for now because plugin api doesn't support vue-query devtools plugin:
20+ * https://github.com/TanStack/query/blob/main/packages/vue-query/src/devtools/devtools.ts
21+ * @TODO : Need to discuss if we should be full compatible with the old devtools plugin api.
22+ */
23+ return
24+ }
25+
1726 const appRecord = await getAppRecord ( plugin . app )
1827 // edge case for router plugin
1928 if ( plugin . packageName === 'vue-router' ) {
@@ -25,7 +34,6 @@ export async function registerPlugin(options: { app: VueAppInstance, api: DevToo
2534 } ) )
2635 }
2736 }
28-
2937 setupFn ( api )
3038 } )
3139
You can’t perform that action at this time.
0 commit comments