hypery2k/nativescript-fabric

View on GitHub
demo/app/app.ts

Summary

Maintainability
A
0 mins
Test Coverage
/*
In NativeScript, the app.ts file is the entry point to your application.
You can use this file to perform app-level initialization, but the primary
purpose of the file is to pass control to the app’s first module.
*/

import './bundle-config';
import * as app from 'application';
import { Fabric } from 'nativescript-fabric';

app.start({ moduleName: 'main-page' });
Fabric.init();

/*
Do not place any code after the application has been started as it will not
be executed on iOS.
*/