door-alarm/web/pages/index.vue
Daniel Svitan 48e433ff1e
All checks were successful
Gitea Build Action / build-go (push) Successful in 24s
Gitea Build Action / build-nuxt (push) Successful in 10m0s
🎨 Prettier formats the code
2025-06-05 11:54:09 +02:00

25 lines
498 B
Vue

<template>
<main class="flex items-center justify-center min-w-screen min-h-screen">
<UButton
icon="material-symbols:lock"
size="xl"
color="primary"
variant="solid"
>
Lock
</UButton>
</main>
</template>
<script lang="ts" setup>
const token = useToken();
const locked = true;
onMounted(() => {
if (!token.value) {
return navigateTo("/token");
}
console.log(token.value);
});
</script>