In the MTA deployment scenario, developers can generate an app router configuration, that contains the mta.yaml
file, and then add multiple generated SAP Fiori apps to the app router configuration project. To do so, open the Command Palette ([CMD/CTRL] + [Shift] + [P] ) and execute the Fiori: Open CF Application Router Generator command.
The user can manage the source code of the app router configuration and multiple SAP Fiori elements projects under a single root directory.
The app router configuration project has the following structure:
-
router
- A folder that contains app router configuration.This folder can have a different name, such as
configurable
. -
.gitignore
-
mta.yaml
- The configurationmta.yaml
file. -
package-lock.json
- The file is generated automatically for any operations where npm modifies either thenode_modules
tree orpackage.json
and describes the exact tree that was generated. -
package.json
- Contains specifics of thenpm package.json
handling.
Once the app router configuration project is generated, one or more SAP Fiori apps can be generated inside its root directory by using the SAP Fiori application generator.
There are two types of routers standalone and managed. For more information, see SAP Tech Bytes: FAQ Managed Approuter vs. Standalone Approuter or Developing HTML5 Applications in the Cloud Foundry Environment.