Last active
March 5, 2021 22:12
-
-
Save bjoerntx/ef1a64bd15ab2a3e7e3b8762945ed2d9 to your computer and use it in GitHub Desktop.
This file contains 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 { FormsModule } from '@angular/forms'; | |
import { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http'; | |
import { RouterModule, Routes } from '@angular/router'; | |
import { AppComponent } from './app.component'; | |
import { NavMenuComponent } from './nav-menu/nav-menu.component'; | |
import { HomeComponent } from './home/home.component'; | |
import { DocumentEditorModule } from '@txtextcontrol/tx-ng-ds-document-editor'; | |
import { OauthService } from './oauth.service'; | |
@NgModule({ | |
declarations: [ | |
AppComponent, | |
NavMenuComponent, | |
HomeComponent, | |
], | |
imports: [ | |
BrowserModule.withServerTransition({ appId: 'ng-cli-universal' }), | |
HttpClientModule, | |
FormsModule, | |
RouterModule.forRoot([ | |
{ | |
path: '', | |
component: HomeComponent, | |
pathMatch: 'full', | |
resolve: { token: OauthService } }, | |
]), | |
DocumentEditorModule | |
], | |
providers: [], | |
bootstrap: [AppComponent], | |
}) | |
export class AppModule { } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment