less css for ubuntu (and compilation automatically

2019-06-27 06:16发布

I tried simpless, but is not supported now for linux. I tried with wine, and later another alternatives. I don't want to type: lessc file.less > file.less each time I modify a file.

Any good compiler, confortable, automatically, for less CSS?

What is the linux tool that has same functionality as WinLESS i.e. that compiles less files whenever they change taking into account which less files include which?

1条回答
Lonely孤独者°
2楼-- · 2019-06-27 06:46

The most obvious way is to run the javascript implementation on Node.

For Ubuntu, start by installing nodejs and npm, then see e.g. these instructions for compiling LESS to CSS with Node. You should get it going with something like

npm install -g less
lessc mystyle.less
查看更多
登录 后发表回答