Skip to content

BitTheCat/tailwind-vue-data-table

Repository files navigation

Tailwind Vue Data Table

Simple DataTable with slots, class and style modification for tr and td, sortable by columns (only graphics with click event).

Contains the TVPaginator component that can be disabled via prop or used in stand-alone mode.

Total Downloads Latest Version License



Install

npm i @bitthecat/tailwind-vue-data-table

Add this code inside tailwind.config.* to compile the css library

content: [
    ...
    './node_modules/@bitthecat/tailwind-vue-data-table/dist/*.js',
],

Use in Vue

import { TVTable } from '@bitthecat/tailwind-vue-data-table' 

Import default css

import "@bitthecat/tailwind-vue-data-table/dist/library.css" 

This project is licensed under the MIT license. See LICENSE.