I have copied the file located in: vendor/magento/module_checkout/view/frontend/web/template/minicart/item/default.html
to my theme dir:app/design/frontend/MyVendor/Mytheme/Magento_Checkout/web/template/minicart/item/default.html
After clearing the cache
and generating static-content
, the template doesn't render and the file does not appear in pub static
folder.
Is the path wrong? Is there a command i need to run?
I found this question, where the path was correct: Magento 2 Rewrite minicart default.html with phtml
pub/static/frontend
and then run thestatic-deploy -f
command