Skip to content

Instantly share code, notes, and snippets.

@StErMi
Last active Dec 14, 2017
Embed
What would you like to do?
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta charset="UTF-8">
<title>Demo</title>
<script id="sap-ui-bootstrap"
src="resources/sap-ui-core.js"
data-sap-ui-libs="sap.m"
data-sap-ui-theme="sap_belize"
data-sap-ui-compatVersion="edge"
data-sap-ui-resourceroots='{"demo": ""}'>
</script>
<link rel="stylesheet" type="text/css" href="css/style.css">
<script>
sap.ui.getCore().attachInit(function() {
sap.ui.component({
name: 'demo',
manifestFirst: true,
async: true
}).then(function(oComponent) {
var oContainer = new sap.ui.core.ComponentContainer({
height : "100%",
name : "demo",
component: oComponent
});
oContainer.placeAt("content");
});
});
</script>
</head>
<body class="sapUiBody" id="content">
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment