Skip to content

Commit fdaa945

Browse files
committed
docs: add shortcut guide
close vuejs#547
1 parent 5e60d64 commit fdaa945

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

docs/getting-started/features.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Features
22

3-
Discover all the features of the Vue DevTools
3+
Discover all the features of the Vue DevTools.
4+
5+
You can open or close Vue DevTools with `Shift+Alt+D` or `Shift+Option+D` shortcut.
46

57
## Overview
68

@@ -52,7 +54,7 @@ Graph tab shows the relationship between modules.
5254

5355
## Settings
5456

55-
Settings tab provides some options to customize the DevTools.
57+
Settings tab provides some options to customize the DevTools. Here you can manage the Tab bar, enable or disable some features, and hide Vue Devtools.
5658

5759
![settings](/features/settings.svg)
5860

@@ -64,7 +66,7 @@ Inspect expose the [vite-plugin-inspect](https://github.com/antfu/vite-plugin-in
6466

6567
## Inspector
6668

67-
Inspector expose the [vite-plugin-vue-inspector](https://github.com/webfansplz/vite-plugin-vue-inspector) integration, you can inspect your app's DOM tree and see which component is rendering it. Finding the place to make changes are much easier.
69+
Inspector expose the [vite-plugin-vue-inspector](https://github.com/webfansplz/vite-plugin-vue-inspector) integration, you can inspect your app's DOM tree and see which component is rendering it. Finding the place to make changes are much easier. You can active it with `Ctrl+Shift` or `Cmd+Shift` shortcut. When activated, you can use `Esc` shortcut to exit. You can customize shortcut by [`Options.componentInspector.toggleComboKey`](/guide/vite-plugin#options)
6870

6971
![inspector](/features/inspector.svg)
7072

docs/guide/vite-plugin.md

+2
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ interface VitePluginVueDevToolsOptions {
5959
/**
6060
* Enable vue component inspector
6161
*
62+
* The VitePluginInspectorOptions you can see https://github.com/webfansplz/vite-plugin-vue-inspector?tab=readme-ov-file#options
63+
*
6264
* @default true
6365
*/
6466
componentInspector?: boolean | VitePluginInspectorOptions

0 commit comments

Comments
 (0)