Spaces:
Running
Running
File size: 1,533 Bytes
07cf142 a828e09 07cf142 a828e09 07cf142 becf4e3 292ac14 9c5dc7b a828e09 832826c 4410abe a828e09 07cf142 439ee88 07cf142 becf4e3 292ac14 9c5dc7b 832826c 4410abe a828e09 07cf142 a828e09 07cf142 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | import { NgModule, provideBrowserGlobalErrorListeners } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { AppRoutingModule } from './app-routing-module';
import { App } from './app';
import { Homepage } from './homepage/homepage';
import { CommonModule } from '@angular/common';
import { ReactiveFormsModule } from '@angular/forms';
import { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';
import { FormsModule } from '@angular/forms';
import { MatFormFieldModule } from '@angular/material/form-field';
import { MatInputModule } from '@angular/material/input';
import { MarkdownModule } from 'ngx-markdown';
import { SignupModal } from './signup-modal/signup-modal';
import { SigninModal } from './signin-modal/signin-modal';
import { AuthInterceptor } from './auth/auth.interceptor';
import { DashboardComponent } from './dashboard/dashboard.component';
import { CommunityComponent } from './community/community.component';
@NgModule({
declarations: [
App,
Homepage,
],
imports: [
BrowserModule,
AppRoutingModule,
CommonModule,
ReactiveFormsModule,
HttpClientModule,
FormsModule,
MatFormFieldModule,
MatInputModule,
MarkdownModule.forRoot(),
SignupModal,
SigninModal,
DashboardComponent,
CommunityComponent
],
providers: [
provideBrowserGlobalErrorListeners(),
{ provide: HTTP_INTERCEPTORS, useClass: AuthInterceptor, multi: true }
],
bootstrap: [App]
})
export class AppModule { }
|