If using the _module.less convention in a custom module - do we have access to all of the files included there (lib-clearfix, etc)?

Is this the only way or are there other methods that have been found?

1 Answer 1


By using Vendor/Module/view//css/source/_module.less the css will all be compiled into the main Magento styelsheets and you will also have access to the mixins and variables define there, although load order is another question.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.