Refactor task data management with composables and remove direct API calls from components
This commit is contained in:
@@ -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' : ''">
|
||||
|
||||
Reference in New Issue
Block a user