Hi,
Seems that the static resource and template files are not be published within app component. How to use those resource in normal project.
I think the template files and static resources should be part of an app component.
Related discussion:
Hi,
Seems that the static resource and template files are not be published within app component. How to use those resource in normal project.
I think the template files and static resources should be part of an app component.
Related discussion:
Hi,
Can anyone give some suggestions?
Hello @lugreen
The portal module is not designed to be reused - you’ll not have portal functionality if parent project doesn’t have portal module.
But it seems to be rational to be able to reuse at least static resources. I’ve filed the issue: GitHub.
They are not included into bundled JAR now, so you can try to create your own Gradle task that will package static resources.
Regards,
Daniil
Hi Daniil ,
Thanks for your reply.
I think that from technical perspective ,this ability should be provided by platform. This like the theme resource within web module, should be published with code together, otherwise the concept of app component will lose its significance.
On the other hand,done this works is diffcult for a common developer using platform. it needs knowledge about Gradle and be familiar with some internal mechanism of CUBA。
So hopes CUBA can provide this ability .
Regards,
Ray