Refactor task data management with composables and remove direct API calls from components

This commit is contained in:
2026-02-21 16:31:50 +01:00
parent feda048f1c
commit 81b92ed5df
5 changed files with 126 additions and 27 deletions

View File

@@ -10,11 +10,7 @@ const currentPath = computed(() => router.currentRoute.value.path);
<div class="overflow-hidden">
<main class="pb-40 overflow-y-scroll h-screen">
<RouterView v-slot="{ Component }">
<Transition name="fade">
<component :is="Component" />
</Transition>
</RouterView>
<RouterView />
</main>
<div class="dock dock-xl bg-neutral-400">
<RouterLink to="/create" :class="currentPath === '/create' ? 'dock-active' : ''">