devtools/packages/vue-devtools
github-actions[bot] 375c58fc15
ci: Version Packages (#512)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
History 2026-08-20 12:38:11 +02:00
..
src feat: redesign TanStack Devtools workbench (#492) 2026-08-10 14:12:44 +02:00
CHANGELOG.md ci: Version Packages (#512) 2026-08-20 12:38:11 +02:00
eslint.config.js feat: vue devtools (#226) 2025-11-25 12:32:50 +01:00
package.json ci: Version Packages (#512) 2026-08-20 12:38:11 +02:00
README.md docs: add README header banners to the framework adapter packages (#491) 2026-08-03 11:59:03 +02:00
tsconfig.docs.json feat: vue devtools (#226) 2025-11-25 12:32:50 +01:00
tsconfig.json feat: vue devtools (#226) 2025-11-25 12:32:50 +01:00
vite.config.ts feat: fix event bus port issues (#297) 2025-12-26 13:23:56 +01:00

TanStack Vue Devtools
# @tanstack/vue-devtools

This package is still under active development and might have breaking changes in the future. Please use it with caution.

Usage

<script setup lang="ts">
import { TanStackDevtools } from '@tanstack/vue-devtools'
import { VueQueryDevtoolsPanel } from '@tanstack/vue-query-devtools'

const plugins = [{ name: 'Vue Query', component: VueQueryDevtoolsPanel }]
</script>

<template>
  <TanStackDevtools
    :eventBusConfig="{ connectToServerBus: true }"
    :plugins="plugins"
  />
</template>

Creating plugins

In order to create a plugin for TanStack Devtools, you can use the plugins prop of the TanStackDevtools component. Here's an example of how to create a simple plugin:

<script setup lang="ts">
import { TanStackDevtools } from '@tanstack/vue-devtools'

const plugins = [
  {
    id: 'your-plugin-id',
    name: 'Your Plugin',
    component: CustomPluginComponent,
  },
]
</script>

<template>
  <TanStackDevtools
    :eventBusConfig="{ connectToServerBus: true }"
    :plugins="plugins"
  />
</template>