mirror of
https://github.com/beak-insights/felicity-lims.git
synced 2025-02-21 07:22:53 +08:00
30 lines
734 B
TypeScript
30 lines
734 B
TypeScript
const clientRoutes = [
|
|
{
|
|
path: '',
|
|
name: 'clients-listing',
|
|
component: () => import('@/views/client/ClientListing.vue'),
|
|
meta: {
|
|
requiresAuth: true,
|
|
},
|
|
},
|
|
{
|
|
path: 'single',
|
|
name: 'client-single-view',
|
|
component: () => import('@/views/client/_id/Client.vue'),
|
|
children: [
|
|
{
|
|
path: '',
|
|
name: 'client-detail',
|
|
component: () => import('@/views/client/_id/ClientDetail.vue'),
|
|
meta: {
|
|
requiresAuth: true,
|
|
},
|
|
},
|
|
],
|
|
meta: {
|
|
requiresAuth: true,
|
|
},
|
|
},
|
|
];
|
|
|
|
export default clientRoutes;
|