UNPKG

@nativescript/template-hello-world-ng

Version:
23 lines (21 loc) 680 B
import { bootstrapApplication, provideNativeScriptHttpClient, provideNativeScriptRouter, runNativeScriptAngularApp, } from '@nativescript/angular'; import { provideZonelessChangeDetection } from '@angular/core'; import { withInterceptorsFromDi } from '@angular/common/http'; import { routes } from './app/app.routes'; import { AppComponent } from './app/app.component'; runNativeScriptAngularApp({ appModuleBootstrap: () => { return bootstrapApplication(AppComponent, { providers: [ provideNativeScriptHttpClient(withInterceptorsFromDi()), provideNativeScriptRouter(routes), provideZonelessChangeDetection(), ], }); }, });