import { ModuleWithProviders } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { LandingpageComponent } from './landingpage/landingpage.component';
import { AboutusComponent } from './aboutus/aboutus.component';
import {ContactComponent} from './contact/contact.component';
import {ProductsComponent} from './products/products.component';
import { from } from 'rxjs';
const ModuleRoutes: Routes = [
    {
        path:'landing',component: LandingpageComponent
        
     },
     {
        path:'about',component: AboutusComponent
     },
     {
      path:'products',component:ProductsComponent
     },
     {
        path:'contact',component:ContactComponent
     }
    ];
     export const moduleRouting: ModuleWithProviders = RouterModule.forChild(ModuleRoutes)