Skip to content

Instantly share code, notes, and snippets.

@philipszdavido
Created September 17, 2017 16:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save philipszdavido/0e128ed94b3206de6e075b9004c82470 to your computer and use it in GitHub Desktop.
Save philipszdavido/0e128ed94b3206de6e075b9004c82470 to your computer and use it in GitHub Desktop.
//src/app/app.module.ts
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
import { VotelinkComponent } from './components/votelink/votelink.component';
import { LinkComponent } from './components/link/link.component';
import { LinktextComponent } from './components/linktext/linktext.component';
import { PointsComponent } from './components/points/points.component';
import { AddlinkComponent } from './components/addlink/addlink.component';
import { LinklistComponent } from './components/linklist/linklist.component';
import { StoreModule } from '@ngrx/store'
import { reducers } from './redux/reducer/index';
@NgModule({
declarations: [
AppComponent,
VotelinkComponent,
LinkComponent,
LinktextComponent,
PointsComponent,
AddlinkComponent,
LinklistComponent
],
imports: [
BrowserModule,
StoreModule.forRoot(reducers)
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment