cancel
Showing results for 
Search instead for 
Did you mean: 

add theme module ...

add theme module ...

 

add theme module for app/code or vendor/myCompany/MyModule/... instead of app/theme/....

 

how can i do that?

 

thank you ;-)

4 REPLIES 4

Re: add theme module ...

Hi @like_mike,

Can you eloborate your question?

If you want to create a new module, then you should create in "app/code/".

Re: add theme module ...

Hi Vimal,

 

i have created a own theme in app/design/ and want to built a module for vendor/myNS/myModule .. ;-)

i dont want to use the app/design folder anymore...

Re: add theme module ...

@like_mike,

One question, Why do you want to move your theme under vendor folder.

Magento also recommands the same way for custom theme, which way you are following. 

https://devdocs.magento.com/guides/v2.3/frontend-dev-guide/themes/theme-create.html

Re: add theme module ...

If you want to make it insallable using composer, 

then you need to create a package. 

for more info:
https://devdocs.magento.com/guides/v2.3/extension-dev-guide/package/package_module.html