summaryrefslogtreecommitdiff
path: root/mobile-ns/app/app.ts
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-01-26 14:51:36 +0100
committerDaniel Weipert <git@mail.dweipert.de>2024-01-26 14:52:57 +0100
commitd3bf2d09f740221771806789b00bf915c9f5f2e3 (patch)
tree95f99eabd763dff1907f107393504ee75aa747d7 /mobile-ns/app/app.ts
parent466d03a38cb01e9ff9a2d11be113a81c2bdce34a (diff)
initial commitHEADmain
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.
+*/