VueDataUi universal component
This version adds the VueDataUi
universal component, which can be used instead of individual components, so it is possible to only declare globally a single component.
You just have to specify the component name in the props, and provide the corresponding datatypes for config and dataset.
Events, slots, exposed functions remain unchanged, as this component is just a handy wrapper.
<script setup>
import { ref } from "vue";
import { VueDataUi } from "vue-data-ui";
import "vue-data-ui/style.css";
const dataset = ref([...]);
const config = ref({...});
</script>
<template>
<div style="width:600px">
<VueDataUi
component="VueUiXy"
:dataset="dataset"
:config="config"
/>
</div>
</template>
This release does not introduce breaking changes.