Magewallet

Magento 2 Extensions, Themes & Services

Magento 2: How to compile specific theme using static content deploy command?

If you want to compile only theme (Package/Theme) with all that belongs to it, run the command:

If you want to compile the theme only .less files, run the command:

To understand how it works and to see how many compilation options exist, run the command:

Using the result of the above command, You can compile depending on the language, compile excluding a theme, compile using combinations of any options.

Enjoy Magento 2! Enjoy Magewallet!!

Mahendra Paladiya

Mahendra is a Web Developer whose passions includes web development, technical blog writing, and database management. His passion for web development pushed him into learning how to handle different platforms like Core PHP, Magento, Prestashop, WordPress, CodeIgniter, CakePHP and Oracle.


1 Comment

  1. Very useful commands. Thanks for sharing!

Leave a Reply

Your email address will not be published.

*

 

© 2017 Magewallet

Theme by Anders NorenUp ↑