

const CustomerHome = () => import('../customer/home.vue');
const CustomerCreate = () => import('../customer/create.vue');
const CustomerEdit = () => import("../customer/edit.vue");
const CustomerProfile = () => import("./profile/profile.vue")
const TankEdit = () => import("./tank/edit.vue")
const CustomerAlert = () => import("./alert.vue")


const customerRoutes = [
    {
        path: '/customer',
        name: 'customer',
        component: CustomerHome,
    },

    {
        path: '/customer/create',
        name: 'customerCreate',
        component: CustomerCreate,
    },
    {
        path: '/customer/edit/:id',
        name: 'customerEdit',
        component: CustomerEdit,
    },
    {
        path: '/customer/:id',
        name: 'customerProfile',
        component: CustomerProfile,
    },
    {
        path: '/customer/:id/service-plan',
        name: 'servicePlanEdit',
        component: () => import('./ServicePlanEdit.vue'),
    },
    {
        path: '/tank/edit/:id',
        name: 'TankEdit',
        component: TankEdit,
    },
    {
        path: '/customer/list/all',
        name: 'customerList',
        component: () => import('./list.vue'),
    },
    {
        path: '/customer/:id/alert',
        name: 'customerAlert',
        component: CustomerAlert,
    },
]

export default customerRoutes
//sourceMappingURL=index.ts.map
