import { Routes } from '@angular/router';

export const routes: Routes = [
    {
        path: '',
        pathMatch: 'full',
        redirectTo: '/welcome'
    },
    {
        path: 'welcome',
        loadComponent: () => import('./pages/welcome/welcome').then(x => x.Welcome)
    },
    {
        path: 'stock',
        loadComponent: () => import('./pages/stock/stock').then(x => x.Stock)
    },
    {
        path: 'supplier',
        loadComponent: () => import('./pages/supplier/supplier').then(x => x.Supplier)
    },
    {
        path: 'deliverer',
        loadComponent: () => import('./pages/deliverer/deliverer').then(x => x.Deliverer)
    },
    {
        path: 'quotation',
        loadComponent: () => import('./pages/quotation/quotation').then(x => x.Quotation)
    },
    {
        path: 'purchase-order',
        loadComponent: () => import('./pages/purchase-order/purchase-order').then(x => x.PurchaseOrder)
    },
    {
        path: 'delivery-note',
        loadComponent: () => import('./pages/delivery-note/delivery-note').then(x => x.DeliveryNote)
    },
    {
        path: 'user',
        loadComponent: () => import('./pages/user/user').then(x => x.User)
    }
];
