I need add new page in Magento 2.
when someone input https://xxxx/manufacturer, would like to show page.
And I add code as following.
I don’t understand to connect between app/code and app/design.
One thing I noted is that you have not set the directory name and file name correctly. Try setting directory name and file name starting with capital letter, capitalise the first letter to ‘Index’.
2
Answers
One thing I noted is that you have not set the directory name and file name correctly. Try setting directory name and file name starting with capital letter, capitalise the first letter to ‘Index’.
For Magento 2 module, you can check the below reference article link:
https://www.cloudways.com/blog/create-module-in-magento-2/
Also for the design theme:
https://www.cloudways.com/blog/create-custom-magento-theme/