1.0.4 • Published 2 years ago

vite-plugin-inspector v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

vite-plugin-inspector

📖 Introduction

A vite plugin which provides the ability that to jump to the local IDE when you click the element of browser automatically. It supports Vue & React & Svelte & ...

Demo

🎉 Almost support all web frameworks (Vue、React、Rreact、Svelte ......)

👏 Almost support all editor(Vscode、Sublime、Atom、Webstorm、IDEA ......)

📦 Installation

# pnpm
pnpm install vite-plugin-inspector -D

# yarn
yarn add vite-plugin-inspector -D

# npm
npm install vite-plugin-inspector -D

🛠 Usage

Configuration Vite

// demo vue , react or svelte
import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
import inspector from "vite-plugin-inspector";

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [inspector(), vue()],
});

Options

interface VitePluginInspectorOptions {
  route?: string; // middleware listen path
}
1.0.2

2 years ago

0.1.0

2 years ago

0.0.1

2 years ago

1.0.1

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.0

2 years ago