Created
November 9, 2020 22:04
-
-
Save blogcacanid/11b761f87fd8ceef25e97e5f9a51c45d to your computer and use it in GitHub Desktop.
app.module.ts Authentication JWT Angular 9 Lumen 7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { BrowserModule } from '@angular/platform-browser'; | |
import { NgModule } from '@angular/core'; | |
import { AppRoutingModule } from './app-routing.module'; | |
import { FormsModule } from '@angular/forms'; | |
import { HttpClientModule } from '@angular/common/http'; | |
import { AppComponent } from './app.component'; | |
import { RegisterComponent } from './register/register.component'; | |
import { LoginComponent } from './login/login.component'; | |
import { ProfileComponent } from './profile/profile.component'; | |
import { HomeComponent } from './home/home.component'; | |
import { authInterceptorProviders } from './_helpers/auth.interceptor'; | |
@NgModule({ | |
declarations: [ | |
AppComponent, | |
RegisterComponent, | |
LoginComponent, | |
ProfileComponent, | |
HomeComponent | |
], | |
imports: [ | |
BrowserModule, | |
AppRoutingModule, | |
FormsModule, | |
HttpClientModule | |
], | |
providers: [authInterceptorProviders], | |
bootstrap: [AppComponent] | |
}) | |
export class AppModule { } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment