summaryrefslogtreecommitdiff
path: root/mobile-ns/app/app.ts
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-ns/app/app.ts')
-rw-r--r--mobile-ns/app/app.ts14
1 files changed, 14 insertions, 0 deletions
diff --git a/mobile-ns/app/app.ts b/mobile-ns/app/app.ts
new file mode 100644
index 0000000..1947b6e
--- /dev/null
+++ b/mobile-ns/app/app.ts
@@ -0,0 +1,14 @@
+/*
+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 { Application } from '@nativescript/core';
+
+Application.run({ moduleName: 'app-root' });
+
+/*
+Do not place any code after the application has been started as it will not
+be executed on iOS.
+*/