Commit f297dae56053490c5740d08953070cd3086bc33f
1 parent
58466c6e4c
Exists in
master
and in
1 other branch
Agregado popover.
Showing
1 changed file
with
3 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 | import { FormsModule, ReactiveFormsModule } from '@angular/forms'; |
| 7 | import { TooltipModule } from 'ngx-bootstrap/tooltip'; | 7 | import { TooltipModule } from 'ngx-bootstrap/tooltip'; |
| 8 | import { PopoverModule } from 'ngx-bootstrap/popover'; | 8 | import { PopoverModule } from 'ngx-bootstrap/popover'; |
| 9 | //#endregion | 9 | //#endregion |
| 10 | 10 | ||
| 11 | //#region COMPONENTS | 11 | //#region COMPONENTS |
| 12 | import { AppComponent } from './app.component'; | 12 | import { AppComponent } from './app.component'; |
| 13 | import { HeaderComponent } from './components/header/header.component'; | 13 | import { HeaderComponent } from './components/header/header.component'; |
| 14 | import { SidebarComponent } from './components/sidebar/sidebar.component'; | 14 | import { SidebarComponent } from './components/sidebar/sidebar.component'; |
| 15 | import { CarouselComponent } from './components/carousel/carousel.component'; | 15 | import { CarouselComponent } from './components/carousel/carousel.component'; |
| 16 | import { HomeComponent } from './components/home/home.component'; | 16 | import { HomeComponent } from './components/home/home.component'; |
| 17 | import { InicioComponent } from './components/inicio/inicio.component'; | 17 | import { InicioComponent } from './components/inicio/inicio.component'; |
| 18 | import { BusquedaProductosComponent } from './components/busqueda-productos/busqueda-productos.component'; | 18 | import { BusquedaProductosComponent } from './components/busqueda-productos/busqueda-productos.component'; |
| 19 | import { ConfirmacionCarritoComponent } from './components/confirmacion-carrito/confirmacion-carrito.component'; | 19 | import { ConfirmacionCarritoComponent } from './components/confirmacion-carrito/confirmacion-carrito.component'; |
| 20 | import { MasterComponent } from './components/master/master.component'; | 20 | import { MasterComponent } from './components/master/master.component'; |
| 21 | import { PopoverComponent } from './components/popover/popover.component'; | ||
| 21 | //#endregion | 22 | //#endregion |
| 22 | 23 | ||
| 23 | @NgModule({ | 24 | @NgModule({ |
| 24 | declarations: [ | 25 | declarations: [ |
| 25 | AppComponent, | 26 | AppComponent, |
| 26 | HeaderComponent, | 27 | HeaderComponent, |
| 27 | SidebarComponent, | 28 | SidebarComponent, |
| 28 | CarouselComponent, | 29 | CarouselComponent, |
| 29 | HomeComponent, | 30 | HomeComponent, |
| 30 | InicioComponent, | 31 | InicioComponent, |
| 31 | BusquedaProductosComponent, | 32 | BusquedaProductosComponent, |
| 32 | ConfirmacionCarritoComponent, | 33 | ConfirmacionCarritoComponent, |
| 33 | MasterComponent | 34 | MasterComponent, |
| 35 | PopoverComponent | ||
| 34 | ], | 36 | ], |
| 35 | imports: [ | 37 | imports: [ |
| 36 | BrowserModule, | 38 | BrowserModule, |
| 37 | AppRoutingModule, | 39 | AppRoutingModule, |
| 38 | HttpClientModule, | 40 | HttpClientModule, |
| 39 | FormsModule, | 41 | FormsModule, |
| 40 | ReactiveFormsModule, | 42 | ReactiveFormsModule, |
| 41 | ReactiveFormsModule.withConfig({ warnOnNgModelWithFormControl: 'never' }), | 43 | ReactiveFormsModule.withConfig({ warnOnNgModelWithFormControl: 'never' }), |
| 42 | TooltipModule.forRoot(), | 44 | TooltipModule.forRoot(), |
| 43 | PopoverModule.forRoot() | 45 | PopoverModule.forRoot() |
| 44 | ], | 46 | ], |
| 45 | providers: [], | 47 | providers: [], |
| 46 | bootstrap: [AppComponent] | 48 | bootstrap: [AppComponent] |
| 47 | }) | 49 | }) |
| 48 | export class AppModule { } | 50 | export class AppModule { } |
| 49 | 51 |