How can you create a custom module in Magento 2?

0

Suppose the model name is β€˜Module’. You have to determine it in app/code folder.

It should be: app/code/VendorName/moduleName.

  • Create the folder of β€˜Module’ module
  • Create etc/module.xml file
  • Create etc/registration.php file
  • Enable the module
asked Apr 15, 2023 at 00:58
Sign in to add a comment

0 Answers

0
πŸ“ No answers yet!

Be the first to answer this interview question.

Your Answer

Sign in to post your answer and help the community.