Skip to content

Instantly share code, notes, and snippets.

@StErMi
Last active December 14, 2017 12:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save StErMi/13e6adcbe18494189d3659c622a92fcb to your computer and use it in GitHub Desktop.
Save StErMi/13e6adcbe18494189d3659c622a92fcb to your computer and use it in GitHub Desktop.
<!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