This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// this import should be first in order to load some required settings (like globals and reflect-metadata) | |
import { platformNativeScriptDynamic } from "nativescript-angular/platform"; | |
import { AppModule } from "./app.module"; | |
import './tslib.nativescript'; // <-- ADD THIS LINE | |
// A traditional NativeScript application starts by initializing global objects, setting up global CSS rules, creating, and navigating to the main page. | |
// Angular applications need to take care of their own initialization: modules, components, directives, routes, DI providers. | |
// A NativeScript Angular app needs to make both paradigms work together, so we provide a wrapper platform object, platformNativeScriptDynamic, |