The app configuration is the application's manifest file and contains fundamental information and settings.
The configuration file is written in JSON and structured into sections.
It's typically called app.json and is located in the root folder of the app.
A common app configuration with four sections could look like this:
{ "app" : { ... }, "css" : [ ... ], "rootNavigation" : { ... }, "pages" : [ ... ] }
The contents (...) of each section depend on the section's type and format.
The following table shows all available sections that can be specified in the app configuration. Click the section's name for more information.
Section | Type | Description |
---|---|---|
actions | array | Actions that are used in the application. |
app | object | Global application settings. |
components | array | Components that are used in the application. |
css | array | Stylesheets that should be included. |
developers | array | Information about the developers that are working on this app. |
environments | object | Settings for different environments. |
events | object | Application events. |
js | array | JavaScript files that should be loaded on startup. |
libraries | array | Libraries that should be made accessible. |
licenses | array | Information about the licenses that apply on this app. |
models | array | Global models that should be loaded on startup. |
pages | array | Pages that are used in the application. |
options | object | Global options. |
rootNavigation | object | Settings for the root navigation. |
© 2013 - 2023 PKSoftware.de