Skip to content

Instantly share code, notes, and snippets.

@Akahadaka
Created September 18, 2016 12:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Akahadaka/1b2e7b69a8dcc76454b0032f015ad201 to your computer and use it in GitHub Desktop.
Save Akahadaka/1b2e7b69a8dcc76454b0032f015ad201 to your computer and use it in GitHub Desktop.
Basic starting template for nativescript-angular 0.4.0
// this import should be first in order to load some required settings (like globals and reflect-metadata)
import { platformNativeScriptDynamic, NativeScriptModule } from "nativescript-angular/platform";
import { NgModule } from "@angular/core";
import { AppComponent } from "./app.component";
@NgModule({
declarations: [AppComponent],
bootstrap: [AppComponent],
imports: [NativeScriptModule],
})
class AppComponentModule {}
platformNativeScriptDynamic().bootstrapModule(AppComponentModule);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment