I want to create a simple custom module for my magento 2.1
I followed this article
But When I want to run my module I have 404 not found..
Perhaps I have to see that I have a theme in my app/code..
Then my project as
/app/code/Excellence (my module)
/app/code/Plaza (my theme)
Thanks in advance..
Solved! Go to Solution.
You need to put your module inside app/code folder. For app/design folder there are theme/template file exist. So when you create any module you need to define your code inside app/code folder.
Thanks for response!
Yes It is inside app/code
But When I execute localhost/myshop/excellence/custom/index I have 404 not found..
You need to run command,
php bin/magento setup:upgrade php bin/magento setup:static-content:deploy -f
I did But now I have an empty page
I should have
Custom Module is ready !