Skip to content
This repository was archived by the owner on Jan 6, 2024. It is now read-only.

Commit f4ed007

Browse files
committed
fix: register inspector plugin before devtools, closes #176
1 parent cc65cfc commit f4ed007

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/node/src/vite.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -178,13 +178,13 @@ export default function VitePluginVueDevTools(options?: VitePluginVueDevToolsOpt
178178
}
179179

180180
return [
181-
plugin,
182-
inspect,
183181
VueInspector({
184182
toggleComboKey: '',
185183
toggleButtonVisibility: 'never',
186184
openInEditorHost: pluginOptions.openInEditorHost,
187185
...(pluginOptions.appendTo ? { appendTo: pluginOptions.appendTo } : {}),
188186
}),
187+
plugin,
188+
inspect,
189189
]
190190
}

0 commit comments

Comments
 (0)