Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I have developed a module vendor_module1 and I want to extend the layout of magento_customer module. Is there a way to do it in module? or only in theme? Is it a good practice to do so?
Sure, you can extend a module's layout by creating the same layout file in your custom module.
In case you want to extend, for example, "customer_account_create.xml" layout then in your extension you need to create file:
Required, but never shown