简体   繁体   English

如何将 React Web 应用程序部署到 Fiori Launchpad?

[英]How to deploy a React web app to the Fiori Launchpad?

I have a React web application which I created with the ui5-webcomponents-react library from SAP https://github.com/SAP/ui5-webcomponents-react .我有一个 React Web 应用程序,它是使用 SAP https://github.com/SAP/ui5-webcomponents-reactui5-webcomponents-react库创建的。

I wish to make this application available via the SAP Fiori Launchpad (as a tile).我希望通过 SAP Fiori Launchpad(作为磁贴)提供此应用程序。

How can I make this happen?我怎样才能做到这一点?

I've successfully uploaded the 'built' app (contents of the build folder) to SAP via the method outlined here: https://blogs.sap.com/2019/11/27/how-to-run-reactjs-web-apps-in-sap/我已通过此处概述的方法成功将“构建”应用程序( build文件夹的内容)上传到 SAP: https : //blogs.sap.com/2019/11/27/how-to-run-reactjs-web -sap 中的应用程序/
(Essentially created a bespoke Z BSP application in SE80 and manually uploaded & linked all of the relevant 'minified' files) (本质上是在 SE80 中创建了一个定制的Z BSP 应用程序并手动上传和链接所有相关的“缩小”文件)

And I can access the application via the open web service in SAP.我可以通过 SAP 中的开放 Web 服务访问该应用程序。

But I'm unsure how to continue?但我不确定如何继续?

Is the above method even the right thing to do?上述方法甚至是正确的做法吗? There has to be a much easier way of doing this?必须有更简单的方法来做到这一点?

I'm on the latest version of S/4 HANA and don't wish to use Eclipse or the WebIDE (primarily because I'm on the on-premise version and because I'm not a huge fan of the Eclipse IDE as it's considerably slower and more resource heavy compared with VSCode).我使用的是最新版本的 S/4 HANA,不想使用 Eclipse 或 WebIDE(主要是因为我使用的是内部部署版本,而且我不是 Eclipse IDE 的忠实粉丝,因为它是与 VSCode 相比,速度要慢得多,资源也更重)。

I'm not 100% this is what you were looking for, but you can add your app as a URL App in the Portal.我不是 100% 这就是您要找的,但是您可以将您的应用程序添加为门户中的 URL 应用程序。 This will create a tile for the specific app your linking it to.这将为您链接到的特定应用程序创建一个磁贴。

This might help, Marius Obert wrote a great article on how to add a React app to your LP.这可能会有所帮助,Marius Obert 写了一篇关于如何将 React 应用程序添加到 LP 的精彩文章。 https://blogs.sap.com/2020/02/03/cloudfoundryfun-11-integrate-a-react-app-in-the-fiori-launchpad/ https://blogs.sap.com/2020/02/03/cloudfoundryfun-11-integrate-a-react-app-in-the-fiori-launchpad/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在 Apache Web 服务器上部署 React 应用程序 - How to deploy a React App on Apache web server 如何在 IIS 上使用 ASP.Net Web API 部署 React 应用程序? - How to deploy a React App with ASP .Net Web API on IIS? 如何以及在何处部署 Flask + React web 应用程序? - How and where do I deploy a Flask + React web app? 如何在 cPanel 上部署 React 应用程序? - How to deploy a react app on cPanel? 如何部署静态React应用 - How to deploy a static React app 如何将带有所有组件的 React js web 应用程序部署到 Amazon Web 服务放大? - How to deploy react js web app with all the components to Amazon Web Services amplify? 如何将React Webpack Web应用程序部署到Azure App Service? - How do I deploy a React Webpack web app to Azure App Service? 如何使用 Visual Studio Code 中的 Azure App Service 插件将 React 部署到 Azure Web App? - How to deploy React to Azure Web App using the Azure App Service plugin in Visual Studio Code? 如何将 create-react-app 部署到网络主机(例如 Siteground)? - How to deploy a create-react-app to a web host (ex. Siteground)? 需要部署与 rasa model 集成的反应 web 应用程序 - Need to deploy a react web app integrated with rasa model
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM