Skip to content

Commit

Permalink
chore: simplify bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
edusperoni committed Dec 17, 2024
1 parent 09ff83f commit 253f4c1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions apps/nativescript-demo-ng/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import {
bootstrapApplication,
NativeDialogModule,
provideNativeScriptHttpClient,
provideNativeScriptNgZone,
provideNativeScriptRouter,
Expand All @@ -10,10 +9,9 @@ import { Trace } from '@nativescript/core';

// import { AppModule } from './app/app.module';
import { withInterceptorsFromDi } from '@angular/common/http';
import { importProvidersFrom } from '@angular/core';
import { setWindowBackgroundColor } from '@nativescript/core/utils/ios';
import { routes } from './app/app.routes';
import { AppComponent } from './app/app.component';
import { routes } from './app/app.routes';

Trace.enable();
Trace.setCategories('ns-route-reuse-strategy,ns-router');
Expand All @@ -27,7 +25,6 @@ runNativeScriptAngularApp({
providers: [
provideNativeScriptHttpClient(withInterceptorsFromDi()),
provideNativeScriptRouter(routes),
importProvidersFrom(NativeDialogModule),
provideNativeScriptNgZone(),
],
});
Expand Down

0 comments on commit 253f4c1

Please sign in to comment.