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

  Environments

Environments (optional)

You can define different environments with different settings.

  app.json
{
    
    "app" : {
        "environment" : "dev"
        
        ...
    },
    
    "environments" : {
        "dev" : {
            "pathToServerRoot" : ".",
            "pathToStaticRoot" : ".",
            "pathToThemeRoot" : "./theme",
            
            "options" : {
                "myoption" : "123"
            }        
        },
        
        "production" : {
            "pathToServerRoot" : "http://mydomain.com/api",
            "pathToStaticRoot" : ".",
            "pathToThemeRoot" : "./theme",
            
            "options" : {
                "myoption" : "456"
            }               
       	}
    }
	
    ...
}
Next: Routing »

© 2013 - 2023 PKSoftware.de

  • Contact