I’m thinking about how is the best way to design a reusable component for many project I have a base component that I can put it into other modules or projects. But each module or project has some different requirement, it need to add new field on template sometimes in middle sometimes before or after existing field in base view. So when module A add new field I need to hide it from module B and versus. So I take some effort, but right now I just have one idea like that to reuse existing component for 2 modules because it just small different Does anyone has any idea to solve this problem? Thank you
Aucun commentaire:
Enregistrer un commentaire