<template>
  <main>
    <p>Test : {{ organization.name }}</p>

    <nuxt-link to="/">Goto main</nuxt-link>
  </main>
</template>

<script setup lang="ts">
import {useEntityManager} from "~/composables/data/useEntityManager";
import {Organization} from "~/models/Organization/Organization";

const em = useEntityManager()

const organization = ref(null)
organization.value = await em.fetch(Organization, 32366)

</script>
