Angular project using NgRx pattern to manage state of a system

companies-manager-routing.module.ts 719B

12345678910111213141516
  1. import { CompaniesManagementComponent } from './companies-management/companies-management.component';
  2. import { CompanyNavBarComponent } from './companies-management/company-nav-bar/company-nav-bar.component';
  3. import { CompaniesCreateComponent } from './companies-management/companies-create/companies-create.component';
  4. import { NgModule } from '@angular/core';
  5. import { RouterModule, Routes } from '@angular/router';
  6. const routes: Routes = [
  7. {path: 'company-create', component: CompaniesCreateComponent},
  8. {path: 'companies-management', component: CompaniesManagementComponent}
  9. ];
  10. @NgModule({
  11. imports: [RouterModule.forChild(routes)],
  12. exports: [RouterModule]
  13. })
  14. export class CompaniesManagerRoutingModule { }

Powered by TurnKey Linux.