owltide/components/ButtonLogOut.vue
Hornwitser 7a95d6c3c4 Use prefix notation for component names
Start component names with the kind of element it creates on the page
(button, input, table, card, etc), then follow it with an hierarchy like
set of parts describing what part of the system it operates on.

This makes related components stick together in the directory listing of
components and auto-complete work better.
2025-06-17 22:29:16 +02:00

7 lines
168 B
Vue

<template>
<button type="button" @click="sessionStore.logOut">Log out</button>
</template>
<script setup lang="ts">
const sessionStore = useSessionStore();
</script>