From 2c0054671eef3299a3116bbfa5b16a35785728a4 Mon Sep 17 00:00:00 2001 From: Guamss Date: Mon, 15 Dec 2025 21:34:23 +0100 Subject: [PATCH] create book modal --- index.html | 2 +- src/App.vue | 5 -- src/components/BookCard.vue | 49 ++++++++++-- src/components/CreateBookForm.vue | 124 +++++++++++++++++++++++++++--- src/main.ts | 20 +++-- src/services/book.service.ts | 82 +++++++++++++++++++- src/views/Home.vue | 41 +++++++--- 7 files changed, 281 insertions(+), 42 deletions(-) diff --git a/index.html b/index.html index 9e5fc8f..8f0761f 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ - Vite App + My book list
diff --git a/src/App.vue b/src/App.vue index 1ec1924..ef7d9f0 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 { @@ -47,9 +45,6 @@ function handleLogout() {