E
E
evgeni_menizky2017-10-22 22:07:21
css
evgeni_menizky, 2017-10-22 22:07:21

How to run less?

Hello. Can you tell me how to run less on a page?
Those. do not compile it in advance to css, namely from less.
Tried

<link rel="stylesheet/less" type="text/css" href="styles.less" />

together with
<script src="less.js" type="text/javascript"></script>

, did not help in any way, in any browsers.
Maybe I'm doing something wrong, or I don't understand? In that case, please explain.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya Gerasimov, 2017-10-22
@evgeni_menizky

https://github.com/less/less.js/tree/3.x/dist
You need to connect in the browser and in theory it will work. Only recommended for development, but I would recommend for webpack development with the --watch module

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question