Supporting different component variations within same app codebase to be picked up by an IMS Org
The use case is that we want to use the same firefly app code base to have multiple variations of components and pages. This app will be deployed to many organizations and a specific variation should be picked up by a particular IMS Organization. The expectation is similar to multi-tenancy (though it will be deployed on different servers) OR multi-site management where component/ page is picked up from specific site folder if it is present otherwise from common folder (inheritance model with dynamic routing & dynamic component includes)
So we want the code structure to be like:
- web-src
- src
- components
- common
- component1
- component2
- Org1 variation
- component2 (variation)
- Org2
- component1 (variation)
- pages
- common
- page1
- page2
- Org1 variation
- page2 (variation)
- Org2
- page1 (variation)
Please suggest how this could be implemented.
