Skip to content

Commit

Permalink
Changing to standalone components.
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigokamada committed Aug 21, 2024
1 parent de91159 commit e9ca52c
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions src/main.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
import { enableProdMode } from '@angular/core';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { bootstrapApplication } from '@angular/platform-browser';
import { appConfig } from './app/app.config';
import { AppComponent } from './app/app.component';

import { AppModule } from './app/app.module';
import { environment } from './environments/environment';

if (environment.production) {
enableProdMode();
}

platformBrowserDynamic().bootstrapModule(AppModule)
.catch(err => console.error(err));
bootstrapApplication(AppComponent, appConfig)
.catch((err) => console.error(err));

0 comments on commit e9ca52c

Please sign in to comment.