When you cloned new theme from existing parent theme in Magento 2. How you can execute
As well as how
Don't worry you can do it easily using following steps.
Goto \dev\tools\grunt\configs, Open themes.js and add the part as shown in the image.
Now Open less.js and add the part shown in the image.
Now you can run grunt less:luma2 task, and it will generate the pub static files for the theme
when ever you add new theme, you will need to add its details to the to files mentioned above.
less:newThemName
command using grunt CLI ? As well as how
grunt watch
will look any changes into newly created theme ?Don't worry you can do it easily using following steps.
Goto \dev\tools\grunt\configs, Open themes.js and add the part as shown in the image.
Now Open less.js and add the part shown in the image.
Now you can run grunt less:luma2 task, and it will generate the pub static files for the theme
when ever you add new theme, you will need to add its details to the to files mentioned above.
No comments:
Post a Comment