/inertable-vue

⚡️ Inertable Vue Component

Primary LanguageVueMIT LicenseMIT

Package Logo

INSTALATION

npm install @rizkhal/inertable-vue

BASIC USAGE

<script setup>
defineProps({
    inertable: Object,
});
</script>
<template>
    <div>
        <Inertable :data="inertable" />
    </div>
</template>

or you can costum the column with slot name, the slot name is equals from your inertable column name

<script setup>
defineProps({
    inertable: Object,
});
</script>
<template>
    <div>
        <Inertable :data="inertable">
            <template #name="{ item: {name} }">
                <span>{{ name }}</span>
            </template>
        </Inertable>
    </div>
</template>