Hey.
How to check the LESS code for errors? Half the battle - correct code editor?
Add the following line before connecting less js:
<script type='text/javascript'>less = { env: 'development' };</script> If you use any compiler, it usually also displays all error messages - console (for example, grunt-contrib-less), embedded (webStorm, phpStorm) or software (Crunch, Coala, WinLess).
By the way, it’s still better to compile less locally during layout.
Source: https://ru.stackoverflow.com/questions/362561/
All Articles