Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hunghg255/vite-plugin-reactjs-inspector

Vite Plugin React Inpsector
https://github.com/hunghg255/vite-plugin-reactjs-inspector

inspector plugin react vite

Last synced: about 2 months ago
JSON representation

Vite Plugin React Inpsector

Awesome Lists containing this project

README

        



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](https://raw.githubusercontent.com/hunghg255/vite-plugin-reactjs-inspector/main/public/demo.gif)

## 📦 Installation

```bash
npm install vite-plugin-reactjs-inspector -D
```

## 🦄 Usage

### Configuration Vite

```ts
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()],
})
```