@johnhalazonetis/data-table 1.24.2 → 1.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -11,11 +11,18 @@ npm run dev
|
|
|
11
11
|
|
|
12
12
|
## Installation
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
Install the package from npm:
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
npm install @johnhalazonetis/data-table
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
**Peer dependencies** (install alongside if they are not already in your app):
|
|
15
21
|
|
|
16
22
|
- Vue 3.5+
|
|
17
|
-
-
|
|
18
|
-
-
|
|
23
|
+
- `@tanstack/vue-table` ^8.21
|
|
24
|
+
- `@tanstack/vue-virtual` ^3.13
|
|
25
|
+
- `@vueuse/core` ^14.2
|
|
19
26
|
- Tailwind CSS v4
|
|
20
27
|
|
|
21
28
|
## Basic Usage
|
|
@@ -23,7 +30,8 @@ npm run dev
|
|
|
23
30
|
```vue
|
|
24
31
|
<script setup>
|
|
25
32
|
import { ref } from 'vue'
|
|
26
|
-
import { DataTable } from '
|
|
33
|
+
import { DataTable } from '@johnhalazonetis/data-table'
|
|
34
|
+
import '@johnhalazonetis/data-table/style.css'
|
|
27
35
|
import { createColumnHelper } from '@tanstack/vue-table'
|
|
28
36
|
|
|
29
37
|
const col = createColumnHelper()
|