Open nils opened 6 months ago
For the second bullet point mentioned above, one option is to
./node_modules/cds-launchpad-plugin/templates/legacy/{launchpad.html,appconfig.json}
to ./tools/launchpad/
, resourceroots
as necessary in the launchpad.html
copy and node_modules/cds-launchpad-plugin/templates
, e.g. from package.json):...
"cds": {
...
"launchpad": {
"template": "../../../tools/launchpad"
}
}
...
Hi @geert-janklaps,
I have a "reuse library" in my project, and I'm using cds-launchpad-plugin in combination with cds-ui5-plugin.
Now when I want to to use a resource MyResource from my.namespace.library from one of my applications (my.namespace.app1), it won't be able to load that resource (because it's trying to load from https://ui5.sap.com/resources/my/namespace/library/MyResource.js which is the last resort).
I think two things would need to be changed to enable that use case:
But before I open an issue over at cds-ui5-plugin and try to create corresponding pull requests on both components, I first wanted to check with you (and other potential readers) if there's another solution I might have missed.