<template>
  <EntityList
    :items="items"
    type="plants"
  />
</template>

<script setup>
definePageMeta({
  middleware: "auth"
})

const items = ref([])
const setupPage = async () => {
  items.value = await useSupabaseSelect("plants","*, customer(id,name)")
}

setupPage()

</script>

<style scoped>

</style>