@vite-libs/devtools
TypeScript icon, indicating that this package has built-in type declarations

1.0.8 • Public • Published

Vite Devtools

This package offers a developer panel for managing Vitejs plugins directly from the client side. It is designed to optimize the development process in the Vitejs environment.

Installation

To install Vite Devtools, run the following command with your preferred package manager:

npm install -D @vite-libs/devtools

Usage

import { defineConfig } from "vite";

import devtools from "@vite-libs/devtools";

devtools.register([
    {
        id: "my-plugin",
        name: "My Plugin Name",
        icon: "mdi mdi-24px mdi-rocket",
        async init(shadowRoot, eventTarget) {
            shadowRoot.innerHTML = "<h1>Hello World</h1>";
        },
    }
])

Package Sidebar

Install

npm i @vite-libs/devtools

Weekly Downloads

1

Version

1.0.8

License

MIT

Unpacked Size

40.4 kB

Total Files

8

Last publish

Collaborators

  • myrax_byte