Remove product items from mini-cart in Magento 2
Remove product items from mini-cart if shopping cart empty.
In Magento 2, if you remove shopping cart items (from quote table) manually then you will notice that the items in mini-cart still exist because of mini-cart do not get items list from quote table.
In Magento 2, sometimes mini-cart does not go to empty (but shopping cart is empty) after successfully order posting
To remove product items from mini-cart if shopping cart empty. Write the given code in the header/footer or in the specified page where do you want to make empty the mini-cart.