I have created a magento 2.2 application using composer. Everything working fine with Luma Theme. Next Step I need to extend the template.
app / design / frontend /< Vendor name> / < Theme Name> /
Here I have created
Then Created a
Magento_theme folder and copied all files from
vendor / magento / module-theme / view / frontend/
to the folder just created and edited
and cleared cache and also applied
php bin/magento setup:static-content:deploy -f
Then I login to backend I have seen the newly created theme in backend and applied the theme. Then I Changed Logo through Backend. Everything works fine.
But I need to edit
header.phtml and I have edited the
app / design / frontend/< Vendor name>/ < Theme Name > / Magento_theme / templates / html
It doesn't make any change in frontend. I have cleared
setup-upgrade everything as devdocs in magento. But No Changes. At the same time I just tried to edit the
vendor / magento / module-theme / view / frontend / templates / html /
Its working and page changes. I Have Googled a lot and Tried Everything. But I didn't know what is wrong.
The steps I have done is Create Custom theme in Magento 2