Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
As already mentioned above, connecting less directly to a live site is not good for various objective reasons - starting with the fact that it usually slows down rendering, if you force compilation to work in this way on the client, therefore, as you have been unsubscribed above, preprocessing is usually used only on developer, but not in a live environment. That is, you write a less file, take a compiler that will turn it into regular css on your machine, that is, it will compile (look at SimpLess: wearekiss.com/simpless,for example, if you don’t want or don’t know how to use Gulp / Grunt) and you upload this compiled css to the server and connect it to the site. The technology of work is this - you do everything in less files, after editing, always compile to css in one way or another and upload it.
I don’t know how to explain it more clearly, because everything has already been written above. :)
Don't do this.... Include CSS. Write *.less files and compile them into ready-made css, which will go under and go on the page. For automatic compilation, use gulp / grunt, because poking into the console gets boring very quickly.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question