import { ModuleWithProviders } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import{LoginComponent} from './login/login.component';
import{JoinComponent} from './join/join.component';
import{HomeComponent} from './home/home.component';
import { LoginaccountComponent } from './loginaccount/loginaccount.component';
import { from } from 'rxjs';
import { LoginvendorsComponent } from './loginvendors/loginvendors.component';
import { PaymentComponent } from './payment/payment.component';
const ModuleRoutes: Routes = [
    {
        path:'login',component: LoginComponent
    },
    {
        path:'join',component: JoinComponent
        
     },
     {
        path:'home',component: HomeComponent
        
     },
     {
        path:'loginaccount',component: LoginaccountComponent
        
     },
     {
        path:'loginvendors',component: LoginvendorsComponent
     },
     {
        path:'payment',component: PaymentComponent
     }
 
    ];
     export const moduleRouting: ModuleWithProviders = RouterModule.forChild(ModuleRoutes)