Ui5Strap
  • About
  • Manual
  • API
  • Code Examples
  • Demos
  • License

Table of Contents

  •   Quickstart
    •   Installation
    •   Hello World
    •   Run

Basics

  •   Project Structure
    •   File Structure
    •   Binaries
    •   Build Tools
    •   Dev Server
    •   Web App Folder
  •   Bootstrapping
    •   Index File
    •   App Icons
    •   Splash Screen
    •   Initialization
  •   Configuration
    •   Overview
    •   App Settings
    •   Developers & Licenses
    •   Environments
    •   Stylesheets
    •   Root Navigation
    •   Pages
    •   Routing
    •   Libraries
    •   Models
    •   Options
    •   Components
    •   Actions
    •   Events
    •   Scripts
  •   Layout
    •   Using Controls
    •   Composing Views
    •   Fragments
  •   Styling
    •   Themes
    •   Custom Style
    •   Style Options
  •   Binding
    •   Element Binding
    •   Property Binding
    •   Aggregation Binding
    •   Formatters
  •   Logic
    •   Controllers
    •   Events
    •   Actions

Appendix

  •   Change Log
    •   0.11.x -> 1.0.0
    •   1.0.0 -> 1.0.1

  Overview

App Configuration

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.

  • myproject
  • www
  • apps
  • helloworld
  • app.json

A common app configuration with four sections could look like this:

  app.json
{
    
    "app" : {
        ...
    },
    
    "css" : [
        ...    
    ],
        
    "rootNavigation" : {
        ...
    },
    
    "pages" : [
        ... 
    ]
    
}

The contents (...) of each section depend on the section's type and format.

Sections

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.

Path Resolving

Package Resolving

Next: App Settings »

© 2013 - 2023 PKSoftware.de

  • Contact