vue-tabulator is a Vue.js 2 component that serves as a declarative wrapper for the Tabulator JavaScript library, enabling easy integration of highly configurable and interactive data grids into Vue applications. The current stable version is 1.3.0. While its release cadence is not strictly regular, it receives updates driven by bug fixes and dependency upgrades, particularly for `tabulator-tables` and `vue` itself. Its key differentiator is providing a Vue-idiomatic approach to using Tabulator, allowing developers to manage table data via `v-model` and configure the grid through a `options` prop, abstracting away direct DOM manipulation. It is specifically designed for Vue 2, requiring `vue@^2.6.12` as a peer dependency, which is a critical consideration for project compatibility.
npm install vue-tabulatorVerified import paths — ran on the pinned version, not inferred.
Demonstrates how to globally register the `vue-tabulator` plugin, include Tabulator's base CSS, and render a basic data table using the `<VueTabulator>` component with `v-model` for data and `:options` for configuration in a Vue 2 application.
For Vue 3 projects, seek alternative Tabulator wrappers or integrate Tabulator directly. If you must use `vue-tabulator`, ensure your project uses Vue 2 (`vue@^2.x`).
Always align the `tabulator-tables` version in your project with the version specified in `vue-tabulator`'s `peerDependencies` (currently `4.8.1`). Review `tabulator-tables` changelogs when upgrading to avoid unexpected behavior.
Ensure both `vue-tabulator` and `tabulator-tables` are installed: `npm install vue-tabulator tabulator-tables`.
Upgrade to `vue-tabulator@1.3.0` or later to ensure dynamic updates to the `options` prop are correctly reflected by the underlying Tabulator instance.
Install a compatible SCSS loader (e.g., `sass`, `sass-loader` for Webpack) and ensure your build configuration correctly processes `.scss` imports. Alternatively, import pre-compiled CSS (`import 'tabulator-tables/dist/css/tabulator.min.css';`) but note that `vue-tabulator`'s own SCSS theme imports expect an SCSS environment.
Run `npm install tabulator-tables` or `yarn add tabulator-tables` in your project.
Ensure `Vue.use(VueTabulator);` is called once in your app's entry point, or locally register the component in your Vue component's `components` option.
Install `sass` and `sass-loader` (for Webpack) and ensure your build configuration correctly processes `.scss` imports. Verify the import path `~vue-tabulator/dist/scss/...` is correct and resolvable.
This library is incompatible with Vue 3. Use a Vue 3 compatible alternative or downgrade your project to Vue 2.