Nothing Special   »   [go: up one dir, main page]

Skip to content

hunghg255/vite-plugin-reactjs-inspector

Repository files navigation

logo

A plugin inspector reactjs element for Vitejs

NPM Version NPM Downloads Minizip Contributors License

📖 Introduction

A vite plugin which provides the ability that to jump to the local IDE when you click the element of browser automatically.

demo

📦 Installation

npm install vite-plugin-reactjs-inspector -D

🦄 Usage

Configuration Vite

import react from '@vitejs/plugin-react'
import { defineConfig } from 'vite'
import VitePluginReactInspector from 'vite-plugin-reactjs-inspector/vite'

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [react(), VitePluginReactInspector()],
})