Task module

This commit is contained in:
Marek Lenczewski
2026-04-12 10:06:17 +02:00
parent efe0cfe361
commit 27b34eb90f
39 changed files with 2454 additions and 41 deletions

View File

@@ -9,6 +9,45 @@ const router = createRouter({
component: () => import('../views/Startpage.vue'),
meta: { breadcrumb: [] },
},
{
path: '/tasks',
name: 'tasks',
component: () => import('../views/Task.vue'),
meta: { breadcrumb: [{ label: 'Tasks', to: '/tasks' }] },
},
{
path: '/tasks/all',
name: 'tasks-all',
component: () => import('../views/TaskAll.vue'),
meta: {
breadcrumb: [
{ label: 'Tasks', to: '/tasks' },
{ label: 'All' },
],
},
},
{
path: '/tasks/create',
name: 'tasks-create',
component: () => import('../views/TaskCreate.vue'),
meta: {
breadcrumb: [
{ label: 'Tasks', to: '/tasks' },
{ label: 'Create' },
],
},
},
{
path: '/tasks/:id(\\d+)',
name: 'tasks-edit',
component: () => import('../views/TaskEdit.vue'),
meta: {
breadcrumb: [
{ label: 'Tasks', to: '/tasks' },
{ label: 'Edit' },
],
},
},
],
})