Skip to content

Instantly share code, notes, and snippets.

@evertonrobertoauler
Created October 10, 2017 12:29
Show Gist options
  • Save evertonrobertoauler/062f45443ba0778f32fd7e07743c7400 to your computer and use it in GitHub Desktop.
Save evertonrobertoauler/062f45443ba0778f32fd7e07743c7400 to your computer and use it in GitHub Desktop.
universal-demo-v5/src/app/app.module.ts 2
import { BrowserModule } from '@angular/platform-browser';
import { HttpClientModule } from '@angular/common/http';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule.withServerTransition({ appId: 'universal-demo-v5' }),
HttpClientModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment