A Vite plugin that adds a shortcut dropdown menu for the Vue Inspector.
npm install vite-plugin-vue-inspector-plus --save-dev
This plugin needs to be used with Vue Devtools or Vue Inspector.
// vite.config.js
import { defineConfig } from 'vite';
import VueDevTools from 'vite-plugin-vue-devtools';
// import VueInspector from 'vite-plugin-vue-inspector';
import VueInspectorPlus from 'vite-plugin-vue-inspector-plus';
export default defineConfig({
plugins: [
VueDevTools(),
// VueInspector(),
VueInspectorPlus({
// options
}),
],
});
- modifierKey:
string
- The modifier key to show the inspector dropdown. Default:'ctrl|meta'
.