Create a gist now

Instantly share code, notes, and snippets.

@epaillous /main-aot.ts Secret
Created Jun 28, 2017

Embed
import { platformBrowser } from '@angular/platform-browser';
import { enableProdMode } from '@angular/core';
import { AppModuleNgFactory } from '../aot/src/app/app.module.ngfactory';
enableProdMode();
platformBrowser().bootstrapModuleFactory(AppModuleNgFactory);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment