Skip to content

Instantly share code, notes, and snippets.

@vitorpiovezam
Last active August 9, 2019 17:48
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 vitorpiovezam/1dae14ff5c75e33b088ef8bee151e17e to your computer and use it in GitHub Desktop.
Save vitorpiovezam/1dae14ff5c75e33b088ef8bee151e17e to your computer and use it in GitHub Desktop.
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
import { ApolloModule } from 'apollo-angular';
import { ApolloConfigModule } from './apollo-config.module';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule
],
exports: [
ApolloConfigModule // Apollo will be injected in all module who import app module
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment