From a9b84f3f3b1d92335188d43048587e32e0921079 Mon Sep 17 00:00:00 2001
From: Santo Cariotti <santo@dcariotti.me>
Date: Wed, 2 Apr 2025 19:31:12 +0200
Subject: Init login and frontend

---
 frontend/pages/index.vue | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 frontend/pages/index.vue

(limited to 'frontend/pages/index.vue')

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>
-- 
cgit v1.2.3-71-g8e6c

