diff options
author | Santo Cariotti <santo@dcariotti.me> | 2025-04-02 19:31:12 +0200 |
---|---|---|
committer | Santo Cariotti <santo@dcariotti.me> | 2025-04-02 19:37:12 +0200 |
commit | a9b84f3f3b1d92335188d43048587e32e0921079 (patch) | |
tree | a4313f7660a99745d7d5da4d92dc9509d0dbe35e /frontend/pages/index.vue | |
parent | 2e92ccd66eb5c31b8fbbcd205d7b4a882450e9d0 (diff) |
Init login and frontend
Diffstat (limited to 'frontend/pages/index.vue')
-rw-r--r-- | frontend/pages/index.vue | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/frontend/pages/index.vue b/frontend/pages/index.vue new file mode 100644 index 0000000..d097617 --- /dev/null +++ b/frontend/pages/index.vue @@ -0,0 +1,20 @@ +<script setup lang="ts"> +const props = defineProps<{ + title: string; +}>(); + +const toast = useToast(); + +function showToast() { + toast.add(props); +} +</script> + +<template> + <UButton + label="Show toast" + color="neutral" + variant="outline" + @click="showToast" + /> +</template> |