I have a custom module installed via composer and the path is vendor/company/module/src/registration.php
.
I want to override some of these files like vendor/company/module/src/view/template/frontend/main.phtml
but no path I tried worked:
app/code/Company/Module/src/view/template/frontend/main.phtml
app/code/Company/Module/view/template/frontend/main.phtml
app/design/frontend/package/theme/Company_Module/src/view/template/frontend/main.phtml
app/design/frontend/package/theme/Company_Module/view/template/frontend/main.phtml
I hope there is an easy way to do it and you don't have to create a separate module and extend.
website.com/module-url
it is showing up properly. if I edit main.phtml in vendor the change is being picked up, but not if I edit ../theme/..