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