Skip to content
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

docs: add shortcut guide #559

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

wzc520pyfm
Copy link
Contributor

close #547

Copy link

netlify bot commented Aug 3, 2024

Deploy Preview for vue-devtools-docs ready!

Name Link
🔨 Latest commit 2928cd1
🔍 Latest deploy log https://app.netlify.com/sites/vue-devtools-docs/deploys/66d2bb739b1d460009781744
😎 Deploy Preview https://deploy-preview-559--vue-devtools-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@@ -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)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This the shortcut depend on #558 .

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.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It only works with Vite plugin, but we now have multi-client support (standalone app, browser extension)

Copy link
Contributor Author

@wzc520pyfm wzc520pyfm Aug 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we can label it here: If you are using Vite plugin, you can ... ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we can label it here: If you are using Vite plugin, you can ... ?

@webfansplz I updated it to If you are using Vite plugin, you can open or close Vue DevTools with Shift+Alt+DorShift+Option+D shortcut., what do you think?

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

If you are using Vite plugin, you can open or close Vue DevTools with `Shift+Alt+D` or `Shift+Option+D` shortcut.
Copy link

@tryforceful tryforceful Nov 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
If you are using Vite plugin, you can open or close Vue DevTools with `Shift+Alt+D` or `Shift+Option+D` shortcut.
If you are using the Vite plugin, you can open or close Vue DevTools with the keyboard shortcut `Shift+Alt+D` or `Shift+Option+D`.

Minor English revision suggestion 🙇🏼‍♂️

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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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)
The inspector exposes the [vite-plugin-vue-inspector](https://github.com/webfansplz/vite-plugin-vue-inspector) integration. With this integration you can inspect any element in your app's DOM tree and see which Vue component is responsible for rendering it, making it much easier to find the right place to make changes.
You can activate it with the keyboard shortcut `Ctrl+Shift` or `Cmd+Shift`. When activated, you can press `Esc` to exit. You can customize shortcut keybindings via the [`Options.componentInspector.toggleComboKey`](/guide/vite-plugin#options) option.

English revision suggestion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve documentation on devtools usage
3 participants