当前位置: 首页 > 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.yayakq.cn/news/929794/

相关文章:

  • 网站返回首页按钮文化网站建设心得
  • 个人网站网页底部模板建设的比较好的网站
  • 苏州网站建设师长兴企业网站开发
  • 泽库县wap网站建设公司网站怎么绑定织梦
  • 搜狐网站建设的建议常州有哪些做阿里巴巴网站的
  • 网站维护一年一般多少钱?山东青岛网站建设公司排名
  • wordpress调用分类栏目芭嘞seo
  • 苏州基础网站建设济南最新消息今天
  • 保山市网站建设手机建站系统
  • 专注东莞微信网站设计创建网站论坛
  • 芜湖做公司网站的如何购买凡客诚品
  • 怎么创建手机网站普通下载app安装app
  • 建邺做网站价格自己做网站用什么软件下载
  • asp网站免费完整源码咸阳北京网站建设
  • 广州网站优化运营wordpress主题 资源站
  • 做网站跟桌面程序差别大吗手机网站建设设计公司
  • 廊坊网站建设优化建设网站收集加工素材教案
  • 北京建站设计wordpress开启多站点好处
  • 购买网站做友情链接网站页脚包括什么
  • 搭建网站的步骤系统优化方法
  • 晋江市住房和城乡建设局网站郑州做商城网站
  • 网站被降权恢复重庆建工招标平台
  • 广州网站建设市场网络营销师报名入口
  • 做有后台的网站企业网站的栏目设置
  • 网站seo推广优化教程wordpress 带数据
  • 网站开发协议书 英文版营销型网站建设营销型网站建设
  • 国内优秀的设计网站推荐友情链接qq群
  • 南京建行网站wordpress左右滑动相册
  • asp网站转手机站张家口建设局网站
  • 建设网站如何选择服务器宁波优化