Commit 0a9a4e91bf7ddbac30cbec2427c93887e613d55e
1 parent
4f59f2e7fc
Exists in
master
Agregado modulo.
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 | import { CarouselModule } from 'ngx-bootstrap/carousel'; | 9 | import { CarouselModule } from 'ngx-bootstrap/carousel'; |
10 | import { PaginationModule } from 'ngx-bootstrap/pagination'; | ||
10 | //#endregion | 11 | //#endregion |
11 | 12 | ||
12 | //#region Keyboard | 13 | //#region Keyboard |
13 | import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; | 14 | import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; |
14 | import { MatButtonModule } from '@angular/material/button'; | 15 | import { MatButtonModule } from '@angular/material/button'; |
15 | import { MatKeyboardModule } from '@ngx-material-keyboard/core'; | 16 | import { MatKeyboardModule } from '@ngx-material-keyboard/core'; |
16 | //#endregion | 17 | //#endregion |
17 | 18 | ||
18 | //#region COMPONENTS | 19 | //#region COMPONENTS |
19 | import { AppComponent } from './app.component'; | 20 | import { AppComponent } from './app.component'; |
20 | import { HeaderComponent } from './components/header/header.component'; | 21 | import { HeaderComponent } from './components/header/header.component'; |
21 | import { SidebarComponent } from './components/sidebar/sidebar.component'; | 22 | import { SidebarComponent } from './components/sidebar/sidebar.component'; |
22 | import { HomeComponent } from './components/home/home.component'; | 23 | import { HomeComponent } from './components/home/home.component'; |
23 | import { InicioComponent } from './components/inicio/inicio.component'; | 24 | import { InicioComponent } from './components/inicio/inicio.component'; |
24 | import { BusquedaProductosComponent } from './components/busqueda-productos/busqueda-productos.component'; | 25 | import { BusquedaProductosComponent } from './components/busqueda-productos/busqueda-productos.component'; |
25 | import { ConfirmacionCarritoComponent } from './components/confirmacion-carrito/confirmacion-carrito.component'; | 26 | import { ConfirmacionCarritoComponent } from './components/confirmacion-carrito/confirmacion-carrito.component'; |
26 | import { MasterComponent } from './components/master/master.component'; | 27 | import { MasterComponent } from './components/master/master.component'; |
27 | import { PopoverPromosComponent } from './components/popover-promos/popover-promos.component'; | 28 | import { PopoverPromosComponent } from './components/popover-promos/popover-promos.component'; |
28 | import { PopoverSinonimosComponent } from './components/popover-sinonimos/popover-sinonimos.component'; | 29 | import { PopoverSinonimosComponent } from './components/popover-sinonimos/popover-sinonimos.component'; |
29 | import { AmbImagenesComponent } from './components/amb-imagenes/amb-imagenes.component'; | 30 | import { AmbImagenesComponent } from './components/amb-imagenes/amb-imagenes.component'; |
30 | import { PagoComponent } from './components/pago/pago.component'; | 31 | import { PagoComponent } from './components/pago/pago.component'; |
31 | import { CancelarCompraComponent } from './components/cancelar-compra/cancelar-compra.component'; | 32 | import { CancelarCompraComponent } from './components/cancelar-compra/cancelar-compra.component'; |
32 | import { MensajeFinalComponent } from './components/mensaje-final/mensaje-final.component'; | 33 | import { MensajeFinalComponent } from './components/mensaje-final/mensaje-final.component'; |
33 | //#endregion | 34 | //#endregion |
34 | 35 | ||
35 | @NgModule({ | 36 | @NgModule({ |
36 | declarations: [ | 37 | declarations: [ |
37 | AppComponent, | 38 | AppComponent, |
38 | HeaderComponent, | 39 | HeaderComponent, |
39 | SidebarComponent, | 40 | SidebarComponent, |
40 | HomeComponent, | 41 | HomeComponent, |
41 | InicioComponent, | 42 | InicioComponent, |
42 | BusquedaProductosComponent, | 43 | BusquedaProductosComponent, |
43 | ConfirmacionCarritoComponent, | 44 | ConfirmacionCarritoComponent, |
44 | MasterComponent, | 45 | MasterComponent, |
45 | PopoverPromosComponent, | 46 | PopoverPromosComponent, |
46 | PopoverSinonimosComponent, | 47 | PopoverSinonimosComponent, |
47 | AmbImagenesComponent, | 48 | AmbImagenesComponent, |
48 | PagoComponent, | 49 | PagoComponent, |
49 | CancelarCompraComponent, | 50 | CancelarCompraComponent, |
50 | MensajeFinalComponent | 51 | MensajeFinalComponent |
51 | ], | 52 | ], |
52 | imports: [ | 53 | imports: [ |
53 | BrowserModule, | 54 | BrowserModule, |
54 | AppRoutingModule, | 55 | AppRoutingModule, |
55 | HttpClientModule, | 56 | HttpClientModule, |
56 | FormsModule, | 57 | FormsModule, |
57 | ReactiveFormsModule, | 58 | ReactiveFormsModule, |
58 | ReactiveFormsModule.withConfig({ warnOnNgModelWithFormControl: 'never' }), | 59 | ReactiveFormsModule.withConfig({ warnOnNgModelWithFormControl: 'never' }), |
59 | TooltipModule.forRoot(), | 60 | TooltipModule.forRoot(), |
60 | PopoverModule.forRoot(), | 61 | PopoverModule.forRoot(), |
61 | BrowserAnimationsModule, | 62 | BrowserAnimationsModule, |
62 | MatKeyboardModule, | 63 | MatKeyboardModule, |
63 | MatButtonModule, | 64 | MatButtonModule, |
64 | CarouselModule.forRoot() | 65 | CarouselModule.forRoot(), |
66 | PaginationModule.forRoot() | ||
65 | ], | 67 | ], |
66 | providers: [], | 68 | providers: [], |
67 | bootstrap: [AppComponent] | 69 | bootstrap: [AppComponent] |
68 | }) | 70 | }) |
69 | export class AppModule { } | 71 | export class AppModule { } |
70 | 72 |