在IntelliJ IDEA Ultimate版本14中配置LESS编译器? [英] Configure LESS compiler in IntelliJ IDEA Ultimate edition 14?

查看:643
本文介绍了在IntelliJ IDEA Ultimate版本14中配置LESS编译器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这些是我的设置。这里是我面对的编译.less文件时的错误。

解决方案

npm less模组

  npm install -g less 

步骤2:在Intellij Idea中安装较少的插件

 文件>设置>插件



第3步:设置较少配置文件

 文件>设置> LESS个人资料



如果使用在保存时自动编译,LESS中的任何更改都会自动生成CSS文件。 / p>

These are my settings. Here is the error i am facing while compiling .less file.

解决方案

Step 1: Install npm less module

npm install -g less

Step 2: Install the less plugins in Intellij Idea

File > Settings > Plugins

Step 3: Setup Less Profile

File > Settings > LESS Profiles

It'll auto-generate the CSS file as soon as any change is noticed in LESS if "Compile Automatically on Save" is used.

这篇关于在IntelliJ IDEA Ultimate版本14中配置LESS编译器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆