Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.