devtools-vite-plugin
Installation
SKILL.md
Configure @tanstack/devtools-vite -- the Vite plugin that enhances TanStack Devtools with source inspection, console piping, enhanced logging, a server event bus, production stripping, editor integration, and a plugin marketplace. The plugin returns an array of sub-plugins, all using enforce: 'pre', so it must be the FIRST plugin in the Vite config.
Installation and Basic Setup
// vite.config.ts
import { devtools } from '@tanstack/devtools-vite'
export default {
plugins: [
devtools(),
// ... other plugins AFTER devtools
],
}
Install as a dev dependency: