-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
45 lines (41 loc) · 1.38 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>UI5 </title>
<script
id="sap-ui-bootstrap"
src="https://sapui5.hana.ondemand.com/1.71.60/resources/sap-ui-core.js"
data-sap-ui-theme="sap_belize"
data-sap-ui-xx-bindingSyntax="complex"
data-sap-ui-libs="sap.m"
data-sap-ui-resourceroots='{"com.ibm.simpleapp":"./"}'
data-sap-ui-async="true">
</script>
<script>
sap.ui.getCore().attachInit(function(){
sap.ui.require(["sap/ui/core/mvc/View","sap/ui/core/ComponentContainer"],function(oView,ComponentContainer){
// oView.create({
// id:"idView",
// type:sap.ui.core.mvc.ViewType.XML,
// viewName:"com.ibm.simpleapp.view.Main"
// }).then(function(oView){
// oView.placeAt("content");
// }).catch(function(err){
// debugger;
// })
var oContainer = new ComponentContainer({
name:"com.ibm.simpleapp",
manifest:true,
async:true,
});
oContainer.placeAt("content");
})
});
</script>
</head>
<body id="content">
<div ></div>
</body>
</html>