A new custom module is built for the existing Adobe Commerce store. A merchant has requested a few frontend updates. For this, a developer has to implement a custom style.
What is the location of the less file that will be included by default?
The view/{area}/web/css/source/main.less file is the default less file that is included by default. This file contains the main styles for the module.
In a custom module in Adobe Commerce, the default location for including custom LESS styles is typically view/{area}/web/css/source/_module.less. However, the most commonly used file for adding global styles is view/{area}/web/css/source/_extend.less. The view/{area}/web/css/style.less file is not standard, and the main.less file is used as an entry point for compilation but typically does not contain custom styles directly.
Bette
25 days agoFannie
1 month agoGeorgeanna
1 month agoWhitley
3 months agoRenea
3 months agoMartin
3 months agoEladia
3 months agoElsa
3 months agoMiriam
4 months agoDana
4 months agoDenny
4 months agoAnissa
4 months agoLasandra
4 months agoLuisa
4 months agoChaya
5 months agoLaurene
5 months agoJean
6 months agoEdgar
6 months agoTula
6 months agoLoreen
6 months agoBonita
6 months agoElena
6 months agoEdna
9 days agoMitsue
15 days agoMayra
20 days ago