vite-plugin-react-click-to-component 
Option+Click React components in your browser to open the source in your editor.
Light version of ericclemmons/click-to-component that uses Vite's launch editor middleware to open the source code in your currently running editor.
Installation
npm i -D vite-plugin-react-click-to-component
In your Vite config:
import { defineConfig } from "vite";
import { swcReactRefresh } from "vite-plugin-swc-react-refresh";
import { reactClickToComponent } from "vite-plugin-react-click-to-component";
export default defineConfig({
plugins: [swcReactRefresh(), reactClickToComponent()],
});
1.0.1
Fix tooltip position for elements on the right side of the screen