<template>
  <h1>Index page r s</h1>
    <div v-if="$can('create', 'tagg')">
      <a @click="createPost">Add Post</a>
    </div>

<!--  {{store}}-->
</template>

<script setup lang="ts">
import {useProfileAccessStore} from "~/store/profile/access";
import {repositoryHelper} from "~/services/store/repository";
import {MyProfile} from "~/models/Access/MyProfile";
import {useDataDeleter} from "~/composables/data/useDataDeleter";
// const store = useProfileAccessStore()


//const myProfile = repositoryHelper.findItemFromModel(MyProfile, 20840)


</script>

