From 8d38708da44fdd13b2c89a54cf2ed33f020183f2 Mon Sep 17 00:00:00 2001 From: Guamss Date: Mon, 15 Dec 2025 21:34:23 +0100 Subject: [PATCH] create book modal --- src/App.vue | 2 - src/components/CreateBookForm.vue | 124 +++++++++++++++++++++++++++--- src/services/book.service.ts | 82 +++++++++++++++++++- src/views/Home.vue | 38 ++++++--- 4 files changed, 220 insertions(+), 26 deletions(-) diff --git a/src/App.vue b/src/App.vue index 1ec1924..d74e290 100644 --- a/src/App.vue +++ b/src/App.vue @@ -11,8 +11,6 @@ const { isAuthenticated, logout } = useAuth(); const toastService = useToast(); const authenticationService = new AuthenticationService(); -const { login } = useAuth(); - const fetchUser = async () => { if (isAuthenticated.value) { try { diff --git a/src/components/CreateBookForm.vue b/src/components/CreateBookForm.vue index 78d37c4..da96c2f 100644 --- a/src/components/CreateBookForm.vue +++ b/src/components/CreateBookForm.vue @@ -1,29 +1,135 @@