I have Magento 2.2.4 version, And I want to overwrite Magento_Checkout/template/minicart/item/default.html
file in my custom module. For this, I created require-jsconfig.js
file at below path
/app/code/Namespace/Module/view/frontend/requirejs-config.js
var config = {
map: {
'*': {
'Magento_Checkout/template/minicart/item/default.html': 'Namespace_Module/template/minicart/item/default.html'
}
}
};
removed "var" folder from root and remove "pub/static/frontend"
folder and run below command:
php bin/magento setup:static-content:deploy
But mini cart is showing blank. Can anyone help me to understand my mistake?