Ignore:
Timestamp:
10/16/21 18:10:51 (3 years ago)
Author:
Ema <ema_spirova@…>
Branches:
master
Children:
eed0bf8
Parents:
6a3a178
Message:

adding new components

File:
1 edited

Legend:

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

    r6a3a178 rfa375fe  
    22import { AppComponent } from './app.component';
    33import { BrowserModule } from '@angular/platform-browser';
    4 import { NgModule } from '@angular/core';
    5 import {FormsModule} from '@angular/forms';
     4import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core';
     5import {FormsModule, ReactiveFormsModule} from '@angular/forms';
    66import {HttpClient, HttpClientModule} from '@angular/common/http';
    77import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
     
    2222import { MatButtonModule } from '@angular/material/button';
    2323import {MatGridListModule} from '@angular/material/grid-list';
     24import { CreateInitialPlannerComponent } from './create-initial-planner/create-initial-planner.component';
     25import { LocationsFormComponent } from './locations-form/locations-form.component';
     26import { MatFormFieldModule } from '@angular/material/form-field';
     27import {MatAutocompleteModule} from '@angular/material/autocomplete';
    2428
    2529@NgModule({
     
    2731    AppComponent,
    2832    PlannerComponent,
    29     LocationComponent
     33    LocationComponent,
     34    CreateInitialPlannerComponent,
     35    LocationsFormComponent
    3036  ],
    3137  imports: [
     
    4450    MatCardModule,
    4551    MatButtonModule,
    46     MatGridListModule
     52    MatGridListModule,
     53    MatFormFieldModule,
     54    MatAutocompleteModule,
     55    HttpClientModule,
     56    ReactiveFormsModule,
     57    MatSelectModule
     58   
    4759  ],
    4860  providers: [
    4961    CategoryService,
    5062    PlannerService
     63   
    5164  ],
    52   bootstrap: [AppComponent]
     65  bootstrap: [AppComponent],
     66  schemas: [NO_ERRORS_SCHEMA]
    5367 
    5468})
Note: See TracChangeset for help on using the changeset viewer.