TanStackT
TanStack3y ago
2 replies
skinny-azure

How to create a reusable table component in Vue

I am working with Vue and Typescript, and I am having issues passing columns and data from a parent component into a table component.

Does anyone have a working example of a child table component that accepts columns and data as props?

Or, is there a more idiomatic way to accomplish a reusable table component that might involve column definition from within somehow?
Was this page helpful?