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

深圳 公司网站设计足球世界排名国家

深圳 公司网站设计,足球世界排名国家,白洋湾做网站公司,在web服务器做网站我的理解&#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.mmbaike.com/news/42147.html

相关文章:

  • 跨境电商购物网站市场调研分析
  • 北京大兴区网站建设如何进行新产品的推广
  • 营销的网站建设公司长春网站制作计划
  • 完善网站建设的目的是新乡seo顾问
  • 企业网站改版新闻百度竞价排名公司
  • 做网站收费多少流量宝
  • 即墨市城乡建设局网站在哪里可以找到网站
  • 深州做网站公司免费的自媒体一键发布平台
  • 公司自己做网站流程和备案网站优化提升排名
  • 做网站的公司算外包公司吗寻找外贸客户的网站
  • 做底单的网站免费b站推广网站下载
  • 做的很好的黑白网站关键词排名 收录 查询
  • wordpress 发布网站网站seo分析
  • wordpress登入不进去广东网站se0优化公司
  • 杭州公司网站推广赚钱一个50元
  • 网站服务器租赁费用表格品牌建设
  • 做网站买狗怎么样seo推广一年要多少钱
  • 网站建设开发环境怎么找百度客服
  • 古玩网站源码外贸营销型网站制作
  • 做一个简单的网页多少钱百度站长工具seo查询
  • 龙元建设集团有限公司网站朋友圈推广平台
  • 无锡专业网站东莞营销外包公司
  • 帮做简历哪个网站好在线友情链接
  • 建设公积金网站收录优美的图片
  • 广州市花都区建设局网站建一个网站需要多少钱?
  • 做网站全部乱码怎么办网络营销制度课完整版
  • 网站建设|重庆seo排名优化
  • 嵊州门户网站网络优化工程师为什么都说坑人
  • 阜宁县住房城乡建设局网站广告代理商
  • 网站内容管理后台系统怎么做网站外链分析工具