-
-
Notifications
You must be signed in to change notification settings - Fork 226
fix(vite): fix inspector short key failure #558
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(vite): fix inspector short key failure #558
Conversation
✅ Deploy Preview for vue-devtools-docs canceled.
|
alexzhang1030
commented
Aug 6, 2024
Probably users can configure the combo key by passing some options like the docs say.
wzc520pyfm
commented
Aug 8, 2024
Probably users can configure the combo key by passing some options like the docs say.
I agree, users can customize shortcuts by passing a config, but perhaps we should provide default shortcuts as well?
alexzhang1030
commented
Aug 9, 2024
How about implementing the user-defined toggle combo key in this PR?
wzc520pyfm
commented
Aug 9, 2024
How about implementing the user-defined toggle combo key in this PR?
I wrote the custom shortcut documentation in #559. The user can do this by passing Options.componentInspector.toggleComboKey to vuedevtoolnext.
Uh oh!
There was an error while loading. Please reload this page.
hi~, I am working on #547 , but I found
vite-plugin-vue-inspector'stoggleComboKeywas set to'', this makes the default shortcut key for opening the inspector invalid.When I removed it,
vite-plugin-vue-inspector'stoggleComboKeyis working!After this pr, I plan to add this default shortcut key for inspector to the documentation, as well as how to customize the
optionofvite-plugin-vue-inspector.