Intellij IDEA 11: how can I compile .css from .less?

后端 未结 5 2086
执念已碎
执念已碎 2021-02-13 13:29

how can I compile .css from .less in intellij ? sure this should be dead easy, but its got me stumped. anyone know how to do this?

5条回答
  •  半阙折子戏
    2021-02-13 14:04

    I wrote a LESS Compiler plugin that automatically compiles LESS files to CSS whenever they change.

    You can configure multiple LESS directories to watch per project, and the output of each will be copied to one or more output CSS directories that you specify:

    LESS Compiler project settings window

    You can include / exclude specific files by using path patterns in the settings dialog.

    It will also detect when you move, copy, or delete a watched LESS file and offer to perform the same operation on the corresponding CSS file(s).

    The plugin is open source, so you can view and fork the source code on GitHub if you like.

提交回复
热议问题