🚀 DAY 4 OF LAUNCH WEEK:Introducing Socket Scanning for OpenVSX Extensions.Learn more
Socket
Book a DemoInstallSign in
Socket

@open-editor/vite

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@open-editor/vite

A vite plugin for fast find source code.

Source
npmnpm
Version
0.0.12
Version published
Maintainers
1
Created
Source

@open-editor/vite

A vite plugin for fast find source code.

Install

npm

npm -D i @open-editor/vite

yarn

yarn -D add @open-editor/vite

pnpm

pnpm -D add @open-editor/vite

Usage

add OpenEditor to vite.config.ts.

it only works for process.env.NODE_ENV === 'development'.

import { defineConfig } from 'vite';
import OpenEditor from '@open-editor/vite';

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

press hotkey ⌨️ option ⌥ + command ⌘ + O, then click the HTML element you wish to inspect.

press hotkey ⌨️ command ⌘ + 🖱 click, show component tree.

press hotkey ⌨️ esc or 🖱 right-click to exit inspect.

Options

keytypedefaultdescription
rootDirstringprocess.cwd()source rootDir path
displayTogglebooleanfalserender the toggle into the browser

Playground

react Source StackBlitz
vue Source StackBlitz

Keywords

vue-devtools

FAQs

Package last updated on 06 Sep 2023

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