{"library":"vite-plugin-vconsole","type":"library","category":null,"description":"Vite plugin for automatically injecting vConsole (a lightweight, extendable front-end developer tool for mobile web pages) into your application during development or specific build modes. Current stable version is 2.1.1, released in 2023. It supports Vite v2+, Node.js >=12, and works with both Vue and React. Key differentiators: dynamic configuration, custom vConsole plugins, multi-page support, and environment-aware enabling/disabling. Compared to alternatives like manually adding vConsole, this plugin automates the setup and teardown process, ensuring vConsole is only loaded when needed (e.g., development or test builds).","language":"javascript","status":"active","version":"2.1.1","tags":["javascript","vite","vconsole","typescript"],"last_verified":"Mon Apr 27","install":[{"cmd":"npm install vite-plugin-vconsole","imports":["import { viteVConsole } from 'vite-plugin-vconsole'","import type { ViteVConsoleOptions } from 'vite-plugin-vconsole'","viteVConsole({ entry: path.resolve('src/main.ts'), enabled: true, config: { theme: 'dark' } })"]},{"cmd":"yarn add vite-plugin-vconsole","imports":[]},{"cmd":"pnpm add vite-plugin-vconsole","imports":[]}],"homepage":null,"github":"https://github.com/vadxq/vite-plugin-vconsole","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vite-plugin-vconsole","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}