32 lines
994 B
TypeScript
32 lines
994 B
TypeScript
import { NgModule, NO_ERRORS_SCHEMA } from "@angular/core";
|
|
import { NativeScriptModule } from "nativescript-angular/nativescript.module";
|
|
|
|
import { AppComponent } from "./app.component";
|
|
import { MyLocationButtonComponent } from './component/locationButton/locationButton.component';
|
|
|
|
// Uncomment and add to NgModule imports if you need to use two-way binding
|
|
// import { NativeScriptFormsModule } from "nativescript-angular/forms";
|
|
|
|
// Uncomment and add to NgModule imports if you need to use the HttpClient wrapper
|
|
// import { NativeScriptHttpClientModule } from "nativescript-angular/http-client";
|
|
|
|
@NgModule({
|
|
bootstrap: [
|
|
AppComponent
|
|
],
|
|
imports: [
|
|
NativeScriptModule,
|
|
],
|
|
declarations: [
|
|
AppComponent,
|
|
MyLocationButtonComponent,
|
|
],
|
|
providers: [],
|
|
schemas: [
|
|
NO_ERRORS_SCHEMA
|
|
]
|
|
})
|
|
/*
|
|
Pass your application module to the bootstrapModule function located in main.ts to start your app
|
|
*/
|
|
export class AppModule { }
|