Created
August 23, 2018 17:18
-
-
Save GrandSchtroumpf/eb7a4a0040dae8e0e758654fb8c5b314 to your computer and use it in GitHub Desktop.
@ngeth : add ProviderModule
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { BrowserModule } from '@angular/platform-browser'; | |
import { NgModule } from '@angular/core'; | |
import { ProviderModule } from '@ngeth/provider'; | |
import { AppComponent } from './app.component'; | |
@NgModule({ | |
declarations: [ | |
AppComponent | |
], | |
imports: [ | |
BrowserModule, | |
ProviderModule.init('https://ropsten.infura.io') | |
], | |
providers: [], | |
bootstrap: [AppComponent] | |
}) | |
export class AppModule { } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment