Kaskus

Tech

meetanshiAvatar border
TS
meetanshi
How to Add Custom LESS File in Magento 2
LESS is one of the most common file formats that is used to generate dynamic CSS files in Magento 2. The LESS files extensions the functionalities of the cascading style sheets and allows the developers to generate the frontend dynamically.
How to Add Custom LESS File in Magento 2

The developers can use the LESS files to generate the CSS logically through the use of variables, functions, nesting, etc. You may require to add custom LESS file in Magento 2 to create a dynamic UI.

In order to add a custom LESS file in Magento 2, you need to create a new vendor_extension_index.xml and add the path to the CSS file. Next, you can add the LESS file to the path prescribed in the previous file as per your requirements.

 You can learn more about it at: https://meetanshi.com/blog/add-custom-less-file-in-magento-2/

Diubah oleh meetanshi 18-07-2022 12:04
0
150
0
GuestAvatar border
Komentar yang asik ya
GuestAvatar border
Komentar yang asik ya
Komunitas Pilihan