aem-project-archetype
aem-project-archetype copied to clipboard
Allow multiple ui.frontend modules
Expected Behaviour
The frontendModule parameter should allow more than one value (for example, general and angular), so we can create a project that supports both SPA Editor and traditional AEM.
Actual Behaviour
The frontendModule parameter allows one single value, so currently is not possible to create a project that combines SPA and non-spa.
Any thoughts? @bpauli @gabrielwalt @vladbailescu If this is considered an enhancement, this is something I would like to work on.
Thanks!
@brunob15 mhhh can't you just create another module without using the frontendModule option? Eg. copy paste from either general or react
@kevinolivar yes, afaik that's the way one should follow if we want to do it currently. But the ui.frontent module is not the only thing that changes when you create a SPA project. If you do a search in the source code, there are several things to copy/merge, and that's why I think it would be nice to have the option to have the archetype do it automatically.
I guess this should be tagged as 'enhancement'.
I need this also, does anyone have a solution ?