dependencies Legend  Declarations  Module  Bootstrap  Providers  Exports cluster_AppModule cluster_AppModule_declarations cluster_AppModule_imports cluster_AppModule_providers AnswersComponent AnswersComponent AppModule AppModule AnswersComponent->AppModule DashboardComponent DashboardComponent DashboardComponent->AppModule DiscoverComponent DiscoverComponent DiscoverComponent->AppModule FooterComponent FooterComponent FooterComponent->AppModule HomeComponent HomeComponent HomeComponent->AppModule NavbarComponent NavbarComponent NavbarComponent->AppModule NotifyComponent NotifyComponent NotifyComponent->AppModule PaysComponent PaysComponent PaysComponent->AppModule ProfileComponent ProfileComponent ProfileComponent->AppModule AuthModule AuthModule AuthModule->AppModule AnswersService AnswersService AnswersService->AppModule PostsService PostsService PostsService->AppModule RatesService RatesService RatesService->AppModule
import { BrowserModule } from '@angular/platform-browser'
import { NgModule, Component } from '@angular/core'
import { HttpClientModule } from '@angular/common/http'
import { FormsModule } from '@angular/forms'
import { RouterModule, Routes } from '@angular/router'
import { environment } from '../environments/environment'
import { BrowserAnimationsModule } from '@angular/platform-browser/animations'
import { ServiceWorkerModule } from '@angular/service-worker'
import { ToastrModule } from 'ngx-toastr'

import { AppComponent } from './app.component'

//Firebase:
import { AngularFireModule } from '@angular/fire';
import {AngularFireStorageModule} from '@angular/fire/storage'

//Servicios:
import { PostsService } from './services/posts.service';
import { AnswersService } from './services/answers.service';
import { RatesService } from './services/rates.service';


//Router:
import { APP_ROUTING } from './app.routes';

//Módulos:
import { AuthModule } from './auth/auth.module';

//Ngx-Bootstrap:
import { BsDropdownModule } from 'ngx-bootstrap/dropdown';
import { AlertModule } from 'ngx-bootstrap/alert';
import { ButtonsModule } from 'ngx-bootstrap';
import { BsDatepickerModule } from 'ngx-bootstrap/datepicker';
import { ModalModule } from 'ngx-bootstrap/modal';
import { CollapseModule } from 'ngx-bootstrap/collapse';
import { TabsModule } from 'ngx-bootstrap/tabs';
import { CarouselModule } from 'ngx-bootstrap/carousel';
import { ProgressbarModule } from 'ngx-bootstrap/progressbar';
import { TooltipModule } from 'ngx-bootstrap/tooltip';
import { AccordionModule } from 'ngx-bootstrap/accordion';
import { RatingModule } from 'ngx-bootstrap/rating';

//Componentes:
import { DashboardComponent } from './components/dashboard/dashboard.component';
import { HomeComponent } from './components/home/home.component';
import { ProfileComponent } from './components/profile/profile.component';
import { NavbarComponent } from './components/navbar/navbar.component';
import { FooterComponent } from './components/footer/footer.component';
import { DiscoverComponent } from './components/discover/discover.component';
import { NotifyComponent } from './components/notify/notify.component';
import { AnswersComponent } from './components/answers/answers.component';
import { PaysComponent } from './components/pays/pays.component';


@NgModule({
  declarations: [
    AppComponent,
    DashboardComponent,
    HomeComponent,
    ProfileComponent,
    NavbarComponent,
    FooterComponent,
    DiscoverComponent,
    NotifyComponent,
    AnswersComponent,
    PaysComponent
  ],
  imports: [
    BrowserModule,
    FormsModule,
    HttpClientModule,
    AuthModule,
    APP_ROUTING,
    BsDropdownModule.forRoot(),
    AlertModule.forRoot(),
    AccordionModule.forRoot(),
    ButtonsModule.forRoot(),
    TooltipModule.forRoot(),
    BsDatepickerModule.forRoot(),
    CollapseModule.forRoot(),
    ModalModule.forRoot(),
    TabsModule.forRoot(),
    CarouselModule.forRoot(),
    ProgressbarModule.forRoot(),
    RatingModule.forRoot(),
    AngularFireModule.initializeApp(environment.firebase),
    AngularFireStorageModule,
    BrowserAnimationsModule,
    ToastrModule.forRoot(),
    ServiceWorkerModule.register('/ngsw-worker.js',{enabled: environment.production})
  ],
  providers: [PostsService, AnswersService, RatesService],
  bootstrap: [AppComponent],
})
export class AppModule {}

result-matching ""

    No results matching ""