2023-11-10 14:05:15 +08:00
|
|
|
const clientRoutes = [
|
|
|
|
{
|
|
|
|
path: '',
|
|
|
|
name: 'clients-listing',
|
2024-06-29 21:19:21 +08:00
|
|
|
component: () => import('@/views/client/ClientListing.vue'),
|
2023-11-10 14:05:15 +08:00
|
|
|
meta: {
|
|
|
|
requiresAuth: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: 'single',
|
|
|
|
name: 'client-single-view',
|
2024-06-29 21:19:21 +08:00
|
|
|
component: () => import('@/views/client/_id/Client.vue'),
|
2023-11-10 14:05:15 +08:00
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: '',
|
|
|
|
name: 'client-detail',
|
2024-06-29 21:19:21 +08:00
|
|
|
component: () => import('@/views/client/_id/ClientDetail.vue'),
|
2023-11-10 14:05:15 +08:00
|
|
|
meta: {
|
|
|
|
requiresAuth: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
meta: {
|
|
|
|
requiresAuth: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
];
|
|
|
|
|
|
|
|
export default clientRoutes;
|