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.
Laurene
6 days agoJean
11 days agoEdgar
16 days agoTula
21 days agoLoreen
26 days agoBonita
1 month agoElena
1 month ago