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

<script setup lang="ts">
import {useProfileAccessStore} from "~/store/profile/access";
// const store = useProfileAccessStore()
</script>

