frontend-developer-1
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Create Themes<br />
1.3 DESCRIBE THE DIFFERENT FILES OF A<br />
THEME<br />
composer.json: this provides basic instructions, telling Composer information<br />
about the module. The most important information is the autoload.files node<br />
where Composer is informed about registration.php.<br />
registration.php (required): this registers the module as a theme with<br />
Magento. It is important to note that the component name is made up as follows:<br />
• adminhtml or <strong>frontend</strong><br />
• /<br />
• Package name (often the developing company)<br />
• /<br />
• Theme name<br />
Examples:<br />
• <strong>frontend</strong>/SwiftOtter/Flex<br />
• <strong>frontend</strong>/Magento/luma<br />
• adminhtml/Magento/backend<br />
theme.xml (required): this file describes the theme to Magento. You will see a title<br />
node, a parent node (optional), and a media/preview_image (optional) node.<br />
HELPFUL LINKS:<br />
• https://devdocs.magento.com/guides/v2.2/<strong>frontend</strong>-dev-guide/<br />
themes/theme-structure.html<br />
Copyright © 2018, SwiftOtter, Inc.<br />
12