Our team is new to AEM development and we are in our initial phases of building a new application using AEM. The idea here is to build a common library of AEM components to be used across multiple tenants hosted in an instance. What are the best options for us to build a common library and use it in different tenant apps? Do we have any recommendations as to how and what needs to be considered while working on this common library? Do we also have any referenced documentation as to how the commons library is built and can be imported to tenant apps? What should be the strategies for maintaining the versioning for these common components?
Your help is much appreciated. Thanks in advance.