How to use the @angular/platform-browser-dynamic.browserDynamicPlatform function in @angular/platform-browser-dynamic

To help you get started, we’ve selected a few @angular/platform-browser-dynamic examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github lemberg / connfa-webapp / src / main.ts View on Github external
import { browserDynamicPlatform } from '@angular/platform-browser-dynamic';
import {enableProdMode, provide} from '@angular/core';
import { AppModule } from './app/app.module';


if (process.env.ENV === 'production') {
  enableProdMode();
}

browserDynamicPlatform().bootstrapModule(AppModule, [

]);