From ec9bc1bb4b8b83af341c5439ba4e97897f915cc6 Mon Sep 17 00:00:00 2001 From: Florian Sylvain Date: Thu, 10 Oct 2024 22:26:54 +0200 Subject: [PATCH] feat: category creation --- src/components/CategoriesTable.vue | 32 +++----------- src/components/CategoryCreate.vue | 68 ++++++++++++++++++++++++++++++ src/composables/category.ts | 16 +++++++ src/stores/auth.ts | 10 ++--- src/stores/categories.ts | 12 +++++- src/views/CategoriesView.vue | 18 +++++++- src/views/LoginView.vue | 4 +- 7 files changed, 121 insertions(+), 39 deletions(-) create mode 100644 src/components/CategoryCreate.vue create mode 100644 src/composables/category.ts diff --git a/src/components/CategoriesTable.vue b/src/components/CategoriesTable.vue index d3db85d..1eb919c 100644 --- a/src/components/CategoriesTable.vue +++ b/src/components/CategoriesTable.vue @@ -1,31 +1,9 @@