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.
Whitley
16 days agoRenea
21 days agoMartin
26 days agoEladia
1 month agoElsa
1 month agoMiriam
1 month agoDana
2 months agoDenny
2 months agoAnissa
2 months agoLasandra
2 months agoLuisa
2 months agoChaya
2 months agoLaurene
3 months agoJean
3 months agoEdgar
4 months agoTula
4 months agoLoreen
4 months agoBonita
4 months agoElena
4 months ago