All Questions

Tagged with
Filter by
Sorted by
Tagged with
0
votes
1answer
138 views

Import new custom less files after grunt configuration

I am using grunt tool for magento server-side less preprocessing. I have created _extend.less file following directory structure for my custom less compilation app\design\frontend\Vendorname\...
0
votes
1answer
95 views

How to declare and use custom configuration file for less compilation with grunt?

According to devdocs which is located at https://devdocs.magento.com/guides/v2.2/frontend-dev-guide/tools/using_grunt.html#grunt_config Now I simply can't understand what it is trying to say.Can ...
0
votes
1answer
211 views

Can't modify style in custom theme using Grunt

I have custom theme Hiddentechies/bentriz theme.js bentriz: { area: 'frontend', name: 'Hiddentechies/bentriz', locale: 'ja_JP', files: [ 'css/source/custom', 'css/source/...
0
votes
1answer
315 views

Setting up grunt to work with Magento 2.1?

I am following this devdoc to get grunt working in Magento 2.1: http://devdocs.magento.com/guides/v2.1/frontend-dev-guide/css-topics/css_debug.html I followed all of the steps and tried to run grunt ...
3
votes
2answers
2k views

Grunt less:theme fails @media-common is undefined

I am using a theme that I have created based on a third party theme 'Optimus' and I am trying to use Grunt to compile the LESS. However, when I run grunt less:theme it fails with the following error: ...
1
vote
1answer
283 views

Speed up Grunt by proper configuration in Magento2

The short: Whenever I work on my front-end CSS with grunt watch it takes about 13~16 seconds to complete the less task to compile the .less files to css. This is for every save and needless to say it'...
0
votes
2answers
404 views

LESS compilation (Grunt) or cache issue

I have started using Grunt, but encountered an issue. I am trying to change styles in custom theme via one of the LESS files, but nothing happens. It worked once, but it doesn't now, and I don't know ...
5
votes
2answers
3k views

Magento 2: How to use Grunt properly for CSS changes

I'm trying to figure out the clusterf-ck which is the Magento 2 front-end theming workflow. And I've read and understood all documentation, read all the blogs about it and are up to date on the latest ...
2
votes
0answers
463 views

Debugging LESS files with Firebug / Chrome Dev tools Magento 2

I am trying to figure out how to display the LESS file and line number pre compilation in developer tools so that I can see where I need to be editing. I have previously got this up and running with ...
2
votes
2answers
1k views

Magento 2 grunt watch is not pre-processing LESS for main locale

My core_config_data table has general/locale/code set to en_IE. When I run grunt exec:<theme-name> and then grunt less:<theme-name>, CSS is generated in two separate locale folders, en_GB ...
0
votes
5answers
3k views

compile less files with grunt don t work!errors with EXEC command

After creating my theme I'm trying to compile less files. but I'm having errors when : grunt exec:exercise1. I'm using a windows machine.
1
vote
3answers
2k views

grunt exec command not working in magento2 - Unable to find local grunt

Today I am trying to execute grunt exec:all and grunt exec commands. Unfortunertly it shown me a error. Earlier it was working fine. Later I had try to install new Magento 2 setup. Still the error is ...
7
votes
2answers
2k views

Magento 2. Less to CSS. Very slow building process. How to improve?

Currently magento2/grunt is very slow in transforming less to css (with a few locales it can take up to a minute to rebuild everything. Any tips how to improve development speed?