aem-project-archetype icon indicating copy to clipboard operation
aem-project-archetype copied to clipboard

Allow multiple ui.frontend modules

Open brunob15 opened this issue 2 years ago • 5 comments

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.

brunob15 avatar Jun 03 '22 14:06 brunob15

Any thoughts? @bpauli @gabrielwalt @vladbailescu If this is considered an enhancement, this is something I would like to work on.

Thanks!

brunob15 avatar Jun 14 '22 10:06 brunob15

@brunob15 mhhh can't you just create another module without using the frontendModule option? Eg. copy paste from either general or react

kevinolivar avatar Jun 16 '22 21:06 kevinolivar

@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.

image

brunob15 avatar Jun 17 '22 17:06 brunob15

I guess this should be tagged as 'enhancement'.

kevinolivar avatar Dec 21 '22 09:12 kevinolivar

I need this also, does anyone have a solution ?

mitchross avatar May 23 '23 20:05 mitchross