Skip to content

Commit

Permalink
docs: add shortcut guide
Browse files Browse the repository at this point in the history
close vuejs#547
  • Loading branch information
wzc520pyfm committed Aug 3, 2024
1 parent 5e60d64 commit fdaa945
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/getting-started/features.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Features

Discover all the features of the Vue DevTools
Discover all the features of the Vue DevTools.

You can open or close Vue DevTools with `Shift+Alt+D` or `Shift+Option+D` shortcut.

## Overview

Expand Down Expand Up @@ -52,7 +54,7 @@ Graph tab shows the relationship between modules.

## Settings

Settings tab provides some options to customize the DevTools.
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.

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

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

## Inspector

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.
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)

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

Expand Down
2 changes: 2 additions & 0 deletions docs/guide/vite-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ interface VitePluginVueDevToolsOptions {
/**
* Enable vue component inspector
*
* The VitePluginInspectorOptions you can see https://github.com/webfansplz/vite-plugin-vue-inspector?tab=readme-ov-file#options
*
* @default true
*/
componentInspector?: boolean | VitePluginInspectorOptions
Expand Down

0 comments on commit fdaa945

Please sign in to comment.