本文介绍了命令“指南针手表"的等效项是什么? LESS CSS预处理器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 SASS 作为Drupal主题的CSS预处理器.如果我使用$ compass watch,则在命令行中的何处.它会继续监视.scss文件中的更改并应用于.css文件.

I was using SASS as CSS pre-processor for Drupal theme. Where in the command line if I use $ compass watch. It keep on watching the change in .scss file and apply to .css file.

我正在尝试 Bootstrap主题,而我正在使用 LESS CSS预处理程序,我每次必须在其中使用$ lessc less/style.less css/style.css来应用更改.

Just I am trying Bootstrap theme and there I am using LESS CSS pre-processor, Where I have to use $ lessc less/style.less css/style.css every time to apply change.

LESS等于$ compass watch.

推荐答案

  1. 您需要安装less-watch-compiler:
    npm install -g less-watch-compiler

  1. You need to install less-watch-compiler:
    npm install -g less-watch-compiler

确保减少全局安装:
npm install -g less

Make sure you installed less globally:
npm install -g less

这篇关于命令“指南针手表"的等效项是什么? LESS CSS预处理器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-01 07:30