From d5ef614ee92801c5a2bbfed82ad6a5a0bc5df58a Mon Sep 17 00:00:00 2001 From: clonbg Date: Sat, 8 Feb 2025 19:12:28 +0100 Subject: [PATCH] =?UTF-8?q?list=20and=20men=C3=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layouts/MainLayout.vue | 24 +++++++++++++++++++++++- src/pages/IndexPage.vue | 29 +++++++++++++++++++++++++++-- 2 files changed, 50 insertions(+), 3 deletions(-) diff --git a/src/layouts/MainLayout.vue b/src/layouts/MainLayout.vue index b18a167..2a55452 100644 --- a/src/layouts/MainLayout.vue +++ b/src/layouts/MainLayout.vue @@ -7,7 +7,26 @@ {{ store.user ? store.user.email : '' }} -
Logout
+
+
+
+ + + + + + Nueva Lista + + + + Logout + + + + +
+
+
@@ -38,6 +57,9 @@ const logout = async () => { alert(error.message) } } +} +const newLista = () => { + console.log(router.currentRoute.value.path) } diff --git a/src/pages/IndexPage.vue b/src/pages/IndexPage.vue index aade543..a76949e 100644 --- a/src/pages/IndexPage.vue +++ b/src/pages/IndexPage.vue @@ -1,8 +1,31 @@