Hey.

How to check the LESS code for errors? Half the battle - correct code editor?

    2 answers 2

    Add the following line before connecting less js:

    <script type='text/javascript'>less = { env: 'development' };</script> 
    • Chic reception .... Grateful - zloctb

    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.