Comments (11)
example in react
https://github.com/luizcarlospedrosogomes/cf-app-serverless-example
from multi-cloud-html5-apps-samples.
Hi,
Good question. I have to say that there are currently no plans to publish such a sample code, and I'm not sure if it makes much sense as the Launchpad service currently doesn't recognize non SAPUI5 apps.
Generally speaking, you can always follow the approach of the managed-html5-runtime-basic-mta and embed the app as an URL app manually in an FLP.
I've done something similar in this post here as well: https://blogs.sap.com/2020/02/03/cloudfoundryfun-11-integrate-a-react-app-in-the-fiori-launchpad/
I'll keep the issue open for now to have a discussion here in case others want to chime in.
from multi-cloud-html5-apps-samples.
Are you telling me that the BTP launchpad service only supports SAPUI5?
There are some examples of react apps with launchpad service, all without react-route-dom, and the service itself allows you to include HTML5 apps.
I got confused
from multi-cloud-html5-apps-samples.
I'm saying that non-SAPUI5 apps can only be embedded as URLs apps :)
from multi-cloud-html5-apps-samples.
using managed-html5-runtime-basic-mta
It looks for the static folder of the root of the portal, when it should look for the subfolder
from multi-cloud-html5-apps-samples.
I recommend reading the blog post I linked above. That one describes more details
from multi-cloud-html5-apps-samples.
After some adjustments I managed to deploy the "launchpad service" but it generated two nodejs services in BTP.
The "react-route-dom" worked.
The question that remains is how not to generate these services, it doesn't make sense for a static app to have a nodejs service?
from multi-cloud-html5-apps-samples.
To which two services are you referring to?
from multi-cloud-html5-apps-samples.
from multi-cloud-html5-apps-samples.
Ah, I see. Technically, these are called "apps" in Cloud Foundry as the term "services" is used for something else. Yes, you don't need them as the approuter isn't needed when you use the managed approuter and the ui_deployer can be substituted as well. For the details, I would refer you to this blog post of mine.
from multi-cloud-html5-apps-samples.
tanks @IObert
from multi-cloud-html5-apps-samples.
Related Issues (20)
- Issues with HTML5 Destination URL in Feature Set B Account HOT 1
- Destination configuration issue HOT 6
- logout functionality HOT 3
- Destination to service module HOT 15
- cf deploy fails in standalone-portal-mta HOT 4
- managed-html5-runtime-fiori-mta doesn't work HOT 2
- managed-html5-runtime-basic-mta not showing up in BTP cockpit under HTML5 apps HOT 5
- [rl-vulnerability_alerts-1] Violation against OSS Rules of Play
- [rl-assigned_teams-5] Violation against OSS Rules of Play
- [rl-assigned_teams-2] Violation against OSS Rules of Play
- [rl-assigned_teams-3] Violation against OSS Rules of Play
- [rl-assigned_teams-1] Violation against OSS Rules of Play
- Issues in Step 5
- Not found after refresh page (F5) HOT 2
- The redirect_uri has an invalid domain HOT 8
- Why do we need destinations for uploading content to the repo as opposed to use the concept of bindings? HOT 10
- The request for authorization was invalid HOT 12
- URL is broken HOT 1
- Please update standalone approuter version to >= 14.4.2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from multi-cloud-html5-apps-samples.