vue/compose-with-tanstack-devtools

Register Vue TanStack Table instances with TanStack Devtools for live state inspection.

28.3k|3.6k|Updated Oct 20, 2016
One-click install
npx skills add https://github.com/TanStack/table --skill vue-compose-with-tanstack-devtools
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vue/compose-with-tanstack-devtools
Source: https://github.com/TanStack/table/tree/main/packages/vue-table-devtools/skills/vue/compose-with-tanstack-devtools
Command: npx skills add https://github.com/TanStack/table --skill vue-compose-with-tanstack-devtools

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It enables developers to see live TanStack Table state and interactions in TanStack Devtools while building Vue datagrids, removing the guesswork of debugging table behavior.

Core Features & Use Cases

  • Mount the TanStack Devtools UI once per app and attach the Vue table adapter plugin so the devtools panel exists.
  • Register each Vue table instance via a composable to expose its state, columns, and model changes to the devtools UI.
  • Support multiple tables, naming, and per-table enabling so complex apps can selectively inspect the correct table(s) without noisy registrations.

Quick Start

Install the TanStack Devtools host and the Vue Table adapter, mount TanStackDevtools with tableDevtoolsPlugin() at the app root, then call useTanStackTableDevtools(table, "Users Table") inside script setup after each useTable call.

Frequently Asked Questions about vue/compose-with-tanstack-devtools

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I inspect TanStack Table state in a Vue application?

To inspect TanStack Table state in a Vue application, mount the TanStackDevtools UI with the tableDevtoolsPlugin() and call useTanStackTableDevtools(table, name?) after each useTable instance inside script setup to expose live state and model changes to the devtools panel.

Can I debug multiple Vue TanStack Table instances simultaneously?

Yes, you can debug multiple Vue TanStack Table instances simultaneously by calling useTanStackTableDevtools(table, name?) after each useTable call, providing unique names to clearly distinguish and selectively inspect each table's state without noisy registrations.

How do I set up TanStack Devtools for Vue composition API datagrids?

To set up TanStack Devtools for Vue composition API datagrids, mount the TanStackDevtools host once at your app root using the tableDevtoolsPlugin() adapter, then register individual tables within your setup functions to track their live interactions.

Is it possible to selectively enable devtools for specific Vue tables?

Yes, TanStack Devtools supports per-table enabling, allowing you to selectively register and inspect specific Vue table instances while ignoring others, ensuring you only see the relevant datagrid state during application development.

Why are my Vue table state changes not showing in TanStack Devtools?

Vue table state changes may not show in TanStack Devtools if you forgot to mount the host with tableDevtoolsPlugin() or failed to call useTanStackTableDevtools(table, name?) directly after useTable within script setup, which is required for the panel to react to registration changes.