Free Preview
// New modules always extend from Magento Framework's ComponentRegistrar
use Magento\Framework\Component\ComponentRegistrar;

// All modules & themes are considered "Components"
    ComponentRegistrar::MODULE, // This is a module...
    'Macademy_JsFun', // The name of the component is VendorName_ModuleName
    __DIR__ // __DIR__ specifies it is located in the current directory
<?xml version="1.0"?>
<!-- The module XML registers the module with Magento -->
<config xmlns:xsi="" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
    <!-- Again, we define the name in the VendorName_ModuleName format -->
    <module name="Macademy_JsFun"/>
Want to learn more?

Visit to learn much more about Magento, Laravel, PHP, Javascript, & Docker. logo