data-sap-ui-resourceroots='{ "your.namespace": "./" }'
data-sap-ui-xx-bindingSyntax="complex"
data-sap-ui-resourceroots='{
"myapp" : "./",
"view" : "./view"
}'
sap.ui.jsview('view.App', {
createContent: function(oController) {
// to avoid scrollbars on desktop the root view must be set to block display
this.setDisplayBlock(true);
this.app = new sap.m.SplitApp("splitApp", {
afterDetailNavigate: function(){
this.hideMaster();
}
});
return this.app;
}
});
var oShell = new sap.m.Shell('mainShell', {
app: new sap.ui.core.ComponentContainer({
name: 'myapp'
}),
logo: 'assets/img/logo.png'
});
oShell.placeAt('content');