what is best Angular architecture for multiple apps that have same logic in front and same back-end with some differences in modules , UI or styles?

I have ‘n’ different Angular apps. for example, I have 10 admin panels that have the same backend and same config modules in the front-end.
but I want to be able to add or remove some modules in some projects and have some custom modules in others.

for good maintenance and scalability, I want to add routers and configs dynamically for example if I add a payment module to the Main admin panel it automatically added to all other admins and same time want to exclude some modules for some clients

I know about NX and monorepo but it’s not what I want. I want to be able to hand codes to customers without all modules and …

what I want is something like this

Source: Angular Questions