Skip to content

Instantly share code, notes, and snippets.

@steinermatt
Created June 24, 2014 07:42
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 steinermatt/c13f610106316d67cf2c to your computer and use it in GitHub Desktop.
Save steinermatt/c13f610106316d67cf2c to your computer and use it in GitHub Desktop.
SAP UI5 - Hello World (RDE Getting started)
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Hello World</title>
<script src="resources/sap-ui-core.js"
id="sap-ui-bootstrap"
data-sap-ui-libs="sap.ui.commons"
data-sap-ui-theme="sap_goldreflection">
</script>
<!-- add sap.ui.table,sap.ui.ux3 and/or other libraries to 'data-sap-ui-libs' if required -->
<script>
sap.ui.localResources("view");
var view = sap.ui.view({id:"idView11", viewName:"view.home", type:sap.ui.core.mvc.ViewType.JS});
view.placeAt("content");
</script>
</head>
<body class="sapUiBody" role="application">
<div id="content">Hello World!</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment