Created
July 28, 2019 14:16
-
-
Save webmasterdevlin/7a789a96f63ad53d8f89c74f0ec33fb0 to your computer and use it in GitHub Desktop.
Akita Module: src/app/app.module.ts
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 { NgModule } from '@angular/core'; | |
import { AppRoutingModule } from './app-routing.module'; | |
import { AppComponent } from './app.component'; | |
import { HeaderNavComponent } from './shared/components/header-nav.component'; | |
import { FormsModule, ReactiveFormsModule } from '@angular/forms'; | |
import { HttpClientModule } from '@angular/common/http'; | |
import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; | |
import { BrowserModule } from '@angular/platform-browser'; | |
import { environment } from '../environments/environment'; | |
import { AkitaNgDevtools } from '@datorama/akita-ngdevtools'; | |
@NgModule({ | |
declarations: [AppComponent, HeaderNavComponent], | |
imports: [ | |
BrowserModule, | |
BrowserAnimationsModule, | |
AppRoutingModule, | |
FormsModule, | |
ReactiveFormsModule, | |
HttpClientModule, | |
environment.production ? [] : AkitaNgDevtools.forRoot() | |
], | |
providers: [], | |
bootstrap: [AppComponent] | |
}) | |
export class AppModule {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment