Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { PlaygroundModule } from 'angular-playground';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { ServiceWorkerModule } from '@angular/service-worker';
import { environment } from './environments/environment';
import { enableProdMode } from '@angular/core';
enableProdMode();
PlaygroundModule
.configure({
selector: 'app-root',
overlay: true,
modules: [
BrowserAnimationsModule,
environment.production ? ServiceWorkerModule.register('/ngsw-worker.js') : []
]
});
platformBrowserDynamic().bootstrapModule(PlaygroundModule)
.catch(err => console.error(err));
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { PlaygroundModule } from 'angular-playground';
PlaygroundModule
.configure({
selector: 'app-root',
overlay: false,
modules: []
});
platformBrowserDynamic().bootstrapModule(PlaygroundModule);
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { PlaygroundModule } from 'angular-playground';
PlaygroundModule
.configure({
selector: 'cm-app-component',
overlay: false,
modules: []
});
platformBrowserDynamic().bootstrapModule(PlaygroundModule);