Summary

In this chapter, you practiced enough to use the libraries and custom JavaScript files in the Magento system 2. It was also possible to understand the current techniques for modularization of JavaScript components using the RequireJS library, a library that was adopted to be used natively in the Magento 2 system.

It was possible to apply the techniques learned in two practical implementations at the level of customization of themes, creating a Tabs widget, and the level of customization modules by applying an integration between backend and frontend using jCarousel as custom JavaScript in the Promo module.

In the next chapter, we will create an integrated Magento 2 module for Twitter using the techniques learned so far.

Get Magento 2 Theme Design - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.