import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from './app.component'; import { KstChatModule, FEATURE_REDUCER_TOKEN } from '../chat/chat.module'; import { StoreModule } from '@ngrx/store'; import { KstConfig } from '../chat/config/chat.config'; @NgModule({ declarations: [ AppComponent ], imports: [ BrowserModule, AppRoutingModule, KstChatModule, StoreModule.forRoot({}), StoreModule.forFeature(KstConfig.stateName, FEATURE_REDUCER_TOKEN) ], providers: [], bootstrap: [AppComponent] }) export class AppModule { }