felicity-lims/webapp/router/worksheet.ts
2024-06-29 15:19:21 +02:00

30 lines
754 B
TypeScript

const wsRoutes = [
{
path: '',
name: 'worksheet-listing',
component: () => import('@/views/worksheet/WorkSheetListing.vue'),
meta: {
requiresAuth: true,
},
},
{
path: ':workSheetUid',
name: 'worksheet-single',
component: () => import('@/views/worksheet/_id/WorkSheet.vue'),
children: [
{
path: '',
name: 'worksheet-detail',
component: () => import('@/views/worksheet/_id/WorkSheetDetail.vue'),
meta: {
requiresAuth: true,
},
},
],
meta: {
requiresAuth: true,
},
},
];
export default wsRoutes;