draw-table-vue 0.4.0 → 0.6.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 +2 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@ npm install draw-table-vue
|
|
|
25
25
|
```vue
|
|
26
26
|
<script setup lang="ts">
|
|
27
27
|
import { ref } from 'vue';
|
|
28
|
-
import
|
|
28
|
+
import DrawTableVue from 'draw-table-vue';
|
|
29
29
|
|
|
30
30
|
const columns = [
|
|
31
31
|
{ key: 'id', title: 'ID', width: 60, fixed: 'left' },
|
|
@@ -42,7 +42,7 @@ const data = ref([
|
|
|
42
42
|
<template>
|
|
43
43
|
<!-- The container must have a defined height -->
|
|
44
44
|
<div style="height: 500px;">
|
|
45
|
-
<
|
|
45
|
+
<DrawTableVue
|
|
46
46
|
:columns="columns"
|
|
47
47
|
v-model:data="data"
|
|
48
48
|
/>
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "draw-table-vue",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/draw-table.umd.js",
|
|
6
6
|
"module": "./dist/draw-table.es.js",
|
|
7
|
-
"types": "./dist/
|
|
7
|
+
"types": "./dist/draw-table.d.ts",
|
|
8
8
|
"exports": {
|
|
9
9
|
".": {
|
|
10
|
-
"types": "./dist/
|
|
10
|
+
"types": "./dist/draw-table.d.ts",
|
|
11
11
|
"import": "./dist/draw-table.es.js",
|
|
12
12
|
"require": "./dist/draw-table.umd.js"
|
|
13
13
|
}
|