What problem does it solve?
Creating consistent, scalable data tables in Nuxt apps often leads to duplicated code and inconsistent column definitions. This skill provides a column-builder pattern and a reusable DataTable surface to streamline table creation across pages and components.
Core Features & Use Cases
- Column Builder Pattern: centralizes column definitions and reuses them across tables.
- DataTable Usage: a generic, configurable table component powered by TanStack Vue Table that handles sorting, actions, and row interactions.
- Row Actions & Navigation: define per-row actions such as view/edit/delete, with optional navigation or function handlers.
- Using Column Builder: compose and customize table columns for different views without rewriting configuration.
- Complex Cell Renderers & Conditional Rendering: supports custom cell renderers and conditional content.
Quick Start
Define your data model, create a column builder using the provided postsColumnBuilder, and render it with the DataTable component.