Svelte DevTools plugin for Vite DevTools, providing 15 specialized panels for debugging, profiling, and inspecting Svelte/SvelteKit applications. Current version 0.2.1 (early development, APIs may change). Integrates directly into the Vite DevTools UI, offering unique features like a reactive graph visualization, render profiler, state timeline, and SvelteKit route viewer. Alternative to browser-based DevTools with deeper Vite integration.
npm install vite-devtools-svelteNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to install and configure the plugin in a Vite + Svelte project, enabling 15 DevTools panels.
Upgrade Node.js to v22+ and vite to v8.
Pin to current version (e.g., "vite-devtools-svelte": "0.2.1") and watch release notes.
Install @vitejs/devtools (if not bundled) and check vite-config: devTools: true.
Use with SvelteKit project or skip those panels if using plain Svelte.
Avoid installing multiple Vite DevTools plugins that target overlapping panels (e.g., svelte-devtools browser extension).
Run 'npm install --save-dev vite-devtools-svelte' or check package.json.
Ensure you import { svelteDevTools } (named) and not default. Check package is version 0.2.1.Update vite to ^8.0.14 or downgrade vite-devtools-svelte to compatible version.
Install @vitejs/devtools (or check if already included in Vite 8).