As I checked from magento 2 documentation about changing minicart content.
There are two ways :
We change it by customizing minicart.phml and placing it in:
app/design/frontend/OrangeCo/orange/Magento_Checkout/templates/cart/minicart.phtml
- But on the other page : http://devdocs.magento.com/guides/v2.0/frontend-dev-guide/templates/template-sample.html
We customise it in content.html and place it in:
app/design/frontend/OrangeCo/orange/Magento_Checkout/web/template/minicart/content.html
So these questions are :
How magento 2 decides when to use html file and phtml file ?
Is this related to 3 mode in Magento 2: Default, Developer and Production ?