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

Commit

Permalink
fix: register inspector plugin before devtools, closes #176
Browse files Browse the repository at this point in the history
  • Loading branch information
webfansplz committed Jul 30, 2023
1 parent cc65cfc commit f4ed007
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/node/src/vite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,13 +178,13 @@ export default function VitePluginVueDevTools(options?: VitePluginVueDevToolsOpt
}

return [
plugin,
inspect,
VueInspector({
toggleComboKey: '',
toggleButtonVisibility: 'never',
openInEditorHost: pluginOptions.openInEditorHost,
...(pluginOptions.appendTo ? { appendTo: pluginOptions.appendTo } : {}),
}),
plugin,
inspect,
]
}

0 comments on commit f4ed007

Please sign in to comment.