Skip to content

Commit 2466bc3

Browse files
committed
Added universal component VueDataUi
1 parent 61551b1 commit 2466bc3

File tree

9 files changed

+993
-156
lines changed

9 files changed

+993
-156
lines changed

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,32 @@ Or you can import just what you need in your files:
109109
</script>
110110
```
111111

112+
Since v.2.0.38, you can also use the "VueDataUi" universal component, just specifying which component you are using:
113+
114+
```
115+
<script setup>
116+
import { ref } from "vue";
117+
import { VueDataUi } from "vue-data-ui";
118+
// Include the css;
119+
import "vue-data-ui/style.css";
120+
121+
const config = ref({...});
122+
const dataset = ref([...]);
123+
124+
</script>
125+
126+
<template>
127+
128+
<VueDataUi
129+
component="VueUiXy"
130+
:config="config"
131+
:dataset="dataset"
132+
/>
133+
134+
</template>
135+
136+
```
137+
112138
## Typescript
113139

114140
Types are available in the 'vue-data-ui.d.ts' file under the types directory of the package.

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vue-data-ui",
33
"private": false,
4-
"version": "2.0.37",
4+
"version": "2.0.38",
55
"type": "module",
66
"description": "A user-empowering data visualization Vue components library",
77
"keywords": [

0 commit comments

Comments
 (0)