Commit 99114f7f563e55c131dd5156489dfcf67b4ed928
1 parent
64e50ad625
Exists in
master
and in
1 other branch
Agregado modulos.
Showing
1 changed file
with
5 additions
and
1 deletions
Show diff stats
src/app/app.module.ts
1 | //#region MODULES | 1 | //#region MODULES |
2 | import { BrowserModule } from '@angular/platform-browser'; | 2 | import { BrowserModule } from '@angular/platform-browser'; |
3 | import { NgModule } from '@angular/core'; | 3 | import { NgModule } from '@angular/core'; |
4 | import { AppRoutingModule } from './app-routing.module'; | 4 | import { AppRoutingModule } from './app-routing.module'; |
5 | import { HttpClientModule } from '@angular/common/http'; | 5 | import { HttpClientModule } from '@angular/common/http'; |
6 | import { FormsModule, ReactiveFormsModule } from '@angular/forms'; | ||
6 | //#endregion | 7 | //#endregion |
7 | 8 | ||
8 | //#region COMPONENTS | 9 | //#region COMPONENTS |
9 | import { AppComponent } from './app.component'; | 10 | import { AppComponent } from './app.component'; |
10 | import { HeaderComponent } from './components/header/header.component'; | 11 | import { HeaderComponent } from './components/header/header.component'; |
11 | import { SidebarComponent } from './components/sidebar/sidebar.component'; | 12 | import { SidebarComponent } from './components/sidebar/sidebar.component'; |
12 | import { CarouselComponent } from './components/carousel/carousel.component'; | 13 | import { CarouselComponent } from './components/carousel/carousel.component'; |
13 | import { HomeComponent } from './components/home/home.component'; | 14 | import { HomeComponent } from './components/home/home.component'; |
14 | import { InicioComponent } from './components/inicio/inicio.component'; | 15 | import { InicioComponent } from './components/inicio/inicio.component'; |
15 | import { BusquedaProductosComponent } from './components/busqueda-productos/busqueda-productos.component'; | 16 | import { BusquedaProductosComponent } from './components/busqueda-productos/busqueda-productos.component'; |
16 | //#endregion | 17 | //#endregion |
17 | 18 | ||
18 | @NgModule({ | 19 | @NgModule({ |
19 | declarations: [ | 20 | declarations: [ |
20 | AppComponent, | 21 | AppComponent, |
21 | HeaderComponent, | 22 | HeaderComponent, |
22 | SidebarComponent, | 23 | SidebarComponent, |
23 | CarouselComponent, | 24 | CarouselComponent, |
24 | HomeComponent, | 25 | HomeComponent, |
25 | InicioComponent, | 26 | InicioComponent, |
26 | BusquedaProductosComponent | 27 | BusquedaProductosComponent |
27 | ], | 28 | ], |
28 | imports: [ | 29 | imports: [ |
29 | BrowserModule, | 30 | BrowserModule, |
30 | AppRoutingModule, | 31 | AppRoutingModule, |
31 | HttpClientModule | 32 | HttpClientModule, |
33 | FormsModule, | ||
34 | ReactiveFormsModule, | ||
35 | ReactiveFormsModule.withConfig({ warnOnNgModelWithFormControl: 'never' }) | ||
32 | ], | 36 | ], |
33 | providers: [], | 37 | providers: [], |
34 | bootstrap: [AppComponent] | 38 | bootstrap: [AppComponent] |
35 | }) | 39 | }) |
36 | export class AppModule { } | 40 | export class AppModule { } |
37 | 41 |