当前位置: 首页 > news >正文

深圳 公司网站设计郑州做网站哪家好

深圳 公司网站设计,郑州做网站哪家好,网站专业制作,奉贤做网站公司我的理解&#xff0c;这就是一个引导指令 1.我们右键打开命令行--执行 ui5 use OpenUI5 2.执行命令&#xff1a;ui5 add sap.ui.core sap.m themelib_sap_horizon 执行完之后&#xff0c;会更新 yaml 文件 3.修改index.html <!DOCTYPE html> <html> <head&…

我的理解,这就是一个引导指令

1.我们右键打开命令行--执行  ui5 use OpenUI5

2.执行命令:ui5 add sap.ui.core sap.m themelib_sap_horizon

执行完之后,会更新 yaml 文件

3.修改index.html 

<!DOCTYPE html>
<html>
<head><meta charset="utf-8"><title>UI5 Walkthrough</title><scriptid="sap-ui-bootstrap"src="resources/sap-ui-core.js"data-sap-ui-theme="sap_horizon"data-sap-ui-libs="sap.m"data-sap-ui-compatVersion="edge"data-sap-ui-async="true"data-sap-ui-onInit="module:ui5/walkthrough/index"data-sap-ui-resourceroots='{"ui5.walkthrough": "./"}'></script>
</head>
<body>
<div>Hello World</div>
</body>
</html>

In this step, we load the SAPUI5 framework from the webserver provided by UI5 Tooling and initialize the core modules with the following configuration options:

  • The id attribute of the <script> tag has to be exactly "sap-ui-bootstrap" to ensure proper booting of the SAPUI5 runtime.
  • The src attribute of the <script> tag tells the browser where to find the SAPUI5 core library – it initializes the SAPUI5 runtime and loads additional resources, such as the libraries specified in the data-sap-ui-libs attribute.

  • The SAPUI5 controls support different themes. We choose sap_horizon as our default theme.

  • We specify the required UI library sap.m, which contains the UI controls we need for this tutorial.

  • To make use of the most recent functionality of SAPUI5 we define the compatibility version as edge.

  • We configure the bootstrapping process to run asynchronously. This means that the SAPUI5 resources can be loaded simultaneously in the background for performance reasons.

  • We define the module to be loaded initially in a declarative way. With this, we avoid directly executable JavaScript code in the HTML file. This makes your app more secure. We'll create the script that this refers to further down in this step.
  • We tell SAPUI5 core that resources in the ui5.walkthrough namespace are located in the same folder as index.html.

注意 这里src 的输入值是resources/sap-ui-core.js

我们需要先将resources文件先建立,并从从”https://openui5.hana.ondemand.com/resources/sap-ui-core.js“中将此文件保存进去

或者直接将src 的输入值改为 https://openui5.hana.ondemand.com/resources/sap-ui-core.js

这样之后才能正常加载

4.在webapp文件下创建一个index.js的文件

sap.ui.define([], () => {"use strict";alert("UI5 is ready");
});

5.输入npm start  结果如下

http://www.dinnco.com/news/61265.html

相关文章:

  • 南京网上注册公司流程沈阳百度seo关键词排名优化软件
  • wordpress手机端网站模板下载失败上海百度seo点击软件
  • 网站建设 ui设计公司企业如何进行品牌推广
  • 北京做药流凤凰网站搜索引擎的营销方法有哪些
  • 网页设计学什么软件无忧seo
  • 旅行社网站建设方案怎么创建网站免费建立个人网站
  • 工商网站网站建设营销推广
  • 阆中网站建设01hl中国免费广告网
  • wordpress限制admin登录ip百度seo霸屏软件
  • 网站营销成功的案例分析东莞网站seo公司哪家大
  • 四川网站建设百度免费打开
  • 四川网站建设yijia028沈阳seo网站推广
  • 怎样看一个网站是不是织梦做的网站建设优化收费
  • 公司建设网站方案曲靖seo建站
  • 网站和做空间广告设计网站
  • oa连接到网站的链接怎么做广告推广怎么找客户
  • 做英文网站怎么赚钱南昌网站开发公司
  • 深圳网站制作公司价位企业培训计划方案
  • 常熟高端网站建设宁波seo网站
  • 西安市做网站的公司哈尔滨最新
  • 基于php技术的小型企业网站开发关键词排名优化易下拉排名
  • 网站建设合同合同期限seo是什么职务
  • php做网站完整视频百度推广官网首页
  • 猪八戒网站做推广怎么样东莞新闻头条新闻
  • 有什么做照片书的网站百度开户需要什么条件
  • 帝国cms做淘宝客网站靠谱的代写平台
  • 制作企业网站百度权重划分等级
  • 怎么给网站的照片做超级链接谷歌seo关键词排名优化
  • 传奇服务器如何做网站关键词歌词林俊杰
  • 做网站公司天津在线看crm系统