Building your component includes laying out the file structure, creating the necessary configuration files, working out any required API interfaces and services, and adding any frontend parts required for your component.

Before you start making your new component, make sure that you have a working installation of Magento 2.0 and disable Magento caching while you are setting up the component file structure and adding configuration files.

In Magento 2 Components have two types of versions:
  • Marketing version

  • Composer version

After creating the components, you need to register them. We can register our components in the Magento system through the Magento componentRegister class.

Read Complete Tutorial on Cloudways Blog:

View more threads in the same category: