mirror of
https://github.com/beak-insights/felicity-lims.git
synced 2025-02-23 00:12:54 +08:00
30 lines
786 B
TypeScript
30 lines
786 B
TypeScript
const shipmentRoutes = [
|
|
{
|
|
path: '',
|
|
name: 'shipment-listing',
|
|
component: () => import('@/views/shipment/ShipmentListing.vue'),
|
|
meta: {
|
|
requiresAuth: true,
|
|
},
|
|
},
|
|
{
|
|
path: ':shipmentUid',
|
|
name: 'shipment-single',
|
|
component: () => import('@/views/shipment/_id/Shipment.vue'),
|
|
children: [
|
|
{
|
|
path: '',
|
|
name: 'shipment-detail',
|
|
component: () => import('@/views/shipment/_id/ShipmentDetail.vue'),
|
|
meta: {
|
|
requiresAuth: true,
|
|
},
|
|
},
|
|
],
|
|
meta: {
|
|
requiresAuth: true,
|
|
},
|
|
},
|
|
];
|
|
|
|
export default shipmentRoutes;
|