Skip to content

Instantly share code, notes, and snippets.

@Tecayehuatl
Created May 25, 2020 05:42
Show Gist options
  • Save Tecayehuatl/7d819c1673fdcd58f75942b31429f067 to your computer and use it in GitHub Desktop.
Save Tecayehuatl/7d819c1673fdcd58f75942b31429f067 to your computer and use it in GitHub Desktop.
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { StoreDevtoolsModule } from '@ngrx/store-devtools';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { StoreModule } from '@ngrx/store';
import { reducers, metaReducers } from './store';
@NgModule({
declarations: [AppComponent],
imports: [
BrowserModule,
AppRoutingModule,
StoreModule.forRoot(reducers, { metaReducers }),
StoreDevtoolsModule.instrument(),
],
providers: [],
bootstrap: [AppComponent],
})
export class AppModule {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment