Commit 8a062eb2369df34ac81bc65d0cec25c11ec048a5
1 parent
c29a3caf3c
Exists in
master
Agregados modulos.
Showing
1 changed file
with
11 additions
and
3 deletions
Show diff stats
src/app/app.module.ts
1 | 1 | import { BrowserModule } from '@angular/platform-browser'; |
2 | 2 | import { NgModule } from '@angular/core'; |
3 | - | |
4 | 3 | import { AppRoutingModule } from './app-routing.module'; |
4 | +import { HttpClientModule } from '@angular/common/http'; | |
5 | +import { FormsModule, ReactiveFormsModule } from '@angular/forms'; | |
6 | +import { CarouselModule } from 'ngx-bootstrap/carousel'; | |
7 | +import { PaginationModule } from 'ngx-bootstrap/pagination'; | |
8 | + | |
5 | 9 | import { AppComponent } from './app.component'; |
6 | 10 | import { AbmImagenesComponent } from './components/abm-imagenes/abm-imagenes.component'; |
7 | -import { PaginationModule } from 'ngx-bootstrap/pagination'; | |
8 | 11 | import { HeaderComponent } from './components/header/header.component'; |
9 | 12 | |
10 | 13 | @NgModule({ |
... | ... | @@ -16,7 +19,12 @@ import { HeaderComponent } from './components/header/header.component'; |
16 | 19 | imports: [ |
17 | 20 | BrowserModule, |
18 | 21 | AppRoutingModule, |
19 | - PaginationModule.forRoot() | |
22 | + HttpClientModule, | |
23 | + FormsModule, | |
24 | + ReactiveFormsModule, | |
25 | + ReactiveFormsModule.withConfig({ warnOnNgModelWithFormControl: 'never' }), | |
26 | + PaginationModule.forRoot(), | |
27 | + CarouselModule.forRoot() | |
20 | 28 | ], |
21 | 29 | providers: [], |
22 | 30 | bootstrap: [AppComponent] |