【发布时间】:2022-11-20 23:08:03
【问题描述】:
While I am running grunt, I am not able to see less file paths into the browser inspect element in magento2click here
【问题讨论】:
标签: browser frontend gruntjs e-commerce magento2
While I am running grunt, I am not able to see less file paths into the browser inspect element in magento2click here
【问题讨论】:
标签: browser frontend gruntjs e-commerce magento2
In magento 2.4.4 version CSS source mapping not working Mostly for front end when working with grunt we used devdoc but some time its not working so here is another solution for this Edit[Root]/package.jsonfile and update the version of grunt-contrib-less to 1.4.1
"grunt-contrib-less": "~1.4.1"
then runnpm install
that's it. It will work for css source mapping.
【讨论】:
Hy guys, im̀ developing on Magento 2.4.5 with a custom theme child of Magento/luma. But i get error as:
Running "less:premiershop" (less) task
Destination pub/static/frontend/Premiershop/default/pt_BR/css/styles-m.css not written because no source files were found. Destination pub/static/frontend/Premiershop/default/pt_BR/css/styles-l.css not written because no source files were found.
Sounds like my child theme dont get styles-l.less and styles-m.less from parent.
【讨论】: