Configure LESS compiler in IntelliJ IDEA Ultimate

2019-07-11 03:45发布

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

2条回答
聊天终结者
2楼-- · 2019-07-11 04:04

You are incorrectly looking in Project Strucutre.

The Project Settings is the icon to the left (spanner).

查看更多
劳资没心,怎么记你
3楼-- · 2019-07-11 04:15

Step 1: Install npm less module

npm install -g less

Step 2: Install the less plugins in Intellij Idea

File > Settings > Plugins

enter image description here

Step 3: Setup Less Profile

File > Settings > LESS Profiles

enter image description here

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

查看更多
登录 后发表回答