:::: MENU ::::

Magento Tutorial | Magento Blog | Learn Magento 2

Cookies Consent Popup

In this article, we are going to understand the RequireJS Configuration in Magento 2. Magento 2 used Require JS Configuration properties are the map, paths, shim, mixins, and deps. In Magento, We have to declare all the Require JS configuration properties inside the requirejs-config.js file. You can declare the requirejs-config.js file at different AREA Scope like frontend or adminhtml. A requirejs-config.js file contains the root config object, under the root config object you have to declare...