Commit 8a062eb2369df34ac81bc65d0cec25c11ec048a5

Authored by Marcelo Puebla
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 import { BrowserModule } from '@angular/platform-browser'; 1 import { BrowserModule } from '@angular/platform-browser';
2 import { NgModule } from '@angular/core'; 2 import { NgModule } from '@angular/core';
3
4 import { AppRoutingModule } from './app-routing.module'; 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 import { AppComponent } from './app.component'; 9 import { AppComponent } from './app.component';
6 import { AbmImagenesComponent } from './components/abm-imagenes/abm-imagenes.component'; 10 import { AbmImagenesComponent } from './components/abm-imagenes/abm-imagenes.component';
7 import { PaginationModule } from 'ngx-bootstrap/pagination';
8 import { HeaderComponent } from './components/header/header.component'; 11 import { HeaderComponent } from './components/header/header.component';
9 12
10 @NgModule({ 13 @NgModule({
11 declarations: [ 14 declarations: [
12 AppComponent, 15 AppComponent,
13 AbmImagenesComponent, 16 AbmImagenesComponent,
14 HeaderComponent 17 HeaderComponent
15 ], 18 ],
16 imports: [ 19 imports: [
17 BrowserModule, 20 BrowserModule,
18 AppRoutingModule, 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 providers: [], 29 providers: [],
22 bootstrap: [AppComponent] 30 bootstrap: [AppComponent]
23 }) 31 })