Skip to content

varHarrie/vite-plugin-vue-inspector-plus

Repository files navigation

vite-plugin-vue-inspector-plus

A Vite plugin that adds a shortcut dropdown menu for the Vue Inspector.

Installation

npm install vite-plugin-vue-inspector-plus --save-dev

Usage

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
    }),
  ],
});

Options

  • modifierKey: string - The modifier key to show the inspector dropdown. Default: 'ctrl|meta'.

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published