mirror of
https://github.com/beak-insights/felicity-lims.git
synced 2025-02-23 08:23:00 +08:00
31 lines
753 B
TypeScript
31 lines
753 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/index.vue'),
|
||
|
children: [
|
||
|
{
|
||
|
path: '',
|
||
|
name: 'worksheet-detail',
|
||
|
component: () => import('../views/worksheet/_id/WorkSheetDetail.vue'),
|
||
|
meta: {
|
||
|
requiresAuth: true,
|
||
|
},
|
||
|
},
|
||
|
],
|
||
|
meta: {
|
||
|
requiresAuth: true,
|
||
|
},
|
||
|
},
|
||
|
];
|
||
|
|
||
|
export default wsRoutes;
|