L
L
Lakewake2011-11-30 18:31:22
phpstorm
Lakewake, 2011-11-30 18:31:22

phpstorm + less

Tell me - I use it in phpstorm, is it possible to convert less to css on the fly on my side, so as not to include less.js on the page?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
P
Pavel Myshkin, 2014-06-27
@vedmaka

LESS CSS Compiler - this plugin works for me.

A
avalak, 2011-11-30
@avalak

In addition to less.js, the package comes with lessc for building on the server (it needs a relatively old version of node.js to work). There are implementations in php, python and other languages, but almost all of them are partial and do not guarantee full support.
To make life easier, use Ant or any other build tool.

@
@ngreduce, 2011-11-30
_

confluence.jetbrains.net/pages/viewpage.action?pageId=15801728
Not in future versions. I decided by switching to scss, which is similar in syntax to the ruby ​​compiler.
By the way, does anyone know the equivalent of %() from less in scss?

S
Sergey Predvoditelev, 2013-12-22
@NikoX

I also faced the same issue. Here is a step by step guide: predvoditelev.ru/less_to_css_in_phpstorm_win

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question