@sap/generator-fiori
Version:
Create an SAPUI5 application using SAP Fiori elements or a freestyle approach
33 lines • 1.4 kB
JSON
{
"sap.ui5": {
"dependencies": {
"libs": <%- JSON.stringify(libraries) %>
},
"routing": {
"targets": {
"<% if (typeof id !== 'undefined') { %><%- id %><% } else { %><%- entity %>ObjectPage<% } %>": {
"type": "Component",
"id": "<% if (typeof id !== 'undefined') { %><%- id %><% } else { %><%- entity %>ObjectPage<% } %>",
"name": "<%- template %>",<%if (locals.controlAggregation) {%>
"controlAggregation": "<%- locals.controlAggregation %>",<% } %>
"options": {
"settings": <%- JSON.stringify(settings) %>
}
}<%if (locals.navigation) {%>,
"<%- navigation.sourcePage %>": {
"options": {
"settings": {
"navigation": {
"<%- navigation.navEntity %>": {
"detail": {
"route": "<% if (typeof id !== 'undefined') { %><%- id %><% } else { %><%- entity %>ObjectPage<% } %>"
}
}
}
}
}
}<% } %>
}
}
}
}