When debugging Magento 2 UI components on the front-end, it can be useful to check which ui components are loaded on the current page.

You can use the following snippet to retrieve a list of all uiComponents on the current page:

var currentUiComponents = {};
requirejs('uiRegistry').filter(function(item){
   currentUiComponents[item.name] = item;
});
console.log(currentUiComponents);
Leave a Reply