This is a beta release of documentation for Magento 2.4, published for previewing soon-to-be-released functionality. Content in this version is subject to change. Links to the v2.4 code base may not properly resolve until the code is officially released.

Build

Building your component involves laying out the file structure, creating the necessary configuration files, building out any needed API interfaces and services, and adding any frontend parts needed for your component.

Prerequisites

Before you begin creating your new component, make sure that you have a working installation of Magento 2, and the Magento System Requirements.

Also, Magento recommends that you disable caching while setting up the component file structure and adding configuration files.

The following details the component building process: