You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

vite-plugin-react-click-to-component

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vite-plugin-react-click-to-component

Option+Click React components in your browser to open the source in your editor

1.0.1
Source
npmnpm
Version published
Weekly downloads
8.2K
-6.55%
Maintainers
1
Weekly downloads
 
Created
Source

vite-plugin-react-click-to-component npm

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"; // or @vitejs/plugin-react
import { reactClickToComponent } from "vite-plugin-react-click-to-component";

export default defineConfig({
  plugins: [swcReactRefresh(), reactClickToComponent()],
});

Keywords

vite

FAQs

Package last updated on 07 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts