STEP-1 Creating Magento 2 Module
PreviousAccessing Magento 2 ControllersNextSTEP-2 - Create Magento 2 Frontend Route and Basic Controller
Last updated
Last updated
Let’s Create Empty Module Folder app/code/ScandiPWA/Version ScandiPWA is [VENDOR]
Let’s Create Empty Module Folder app/code/ScandiPWA/Version ScandiPWA is [VENDOR] module provider Version [MODULE]
In [MODULE] create file registration.php
3. Create etc folder in [MODULE] and module.xml in it.
4. Now we need to run setup:upgrade
and find our module in output
if you are running CMA setup open console in <PROJECT ROOT> run npm run cli
and then
m set:up
you should be able to find newly created module in output
Useful Materials CMA Enter application CLI Create a New Module bin/magento (Open Source) Magento CLI