Ignore:
Timestamp:
11/02/21 22:14:57 (3 years ago)
Author:
Ema <ema_spirova@…>
Branches:
master
Children:
6c1585f
Parents:
188ee53
Message:

create initial planner and routing with angular

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trip-planner-front/src/app/app-routing.module.ts

    r188ee53 r6a80231  
    11import { NgModule } from '@angular/core';
    22import { RouterModule, Routes } from '@angular/router';
     3import { LocationsFormComponent } from './locations-form/locations-form.component';
     4import { EditPlannerComponent } from './planner/edit-planner/edit-planner.component';
     5import { PlannerComponent } from './planner/planner.component';
    36
    4 const routes: Routes = [];
     7const routes: Routes = [
     8  {path: 'planners', component: PlannerComponent},
     9  {path: 'form', component: LocationsFormComponent},
     10  {path: 'edit/planner/:id', component: EditPlannerComponent}
     11];
    512
    613@NgModule({
Note: See TracChangeset for help on using the changeset viewer.