什么是命令“指南针手表"的等价物?对于 LESS CSS 预处理器?

2023-09-05前端开发问题
2

本文介绍了什么是命令“指南针手表"的等价物?对于 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 是什么.

What is the equivalent of $ compass watch for LESS.

推荐答案

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

确保您在全局范围内安装 less:
npm install -g less

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

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

The End

相关推荐

layui 单选框、复选框、下拉菜单不显示问题如何解决?
1. 如果是ajax嵌套了 页面, 请确保 只有最外层的页面引入了layui.css 和 layui.js ,内层页面 切记不要再次引入 2. 具体代码如下 layui.use(['form', 'upload'], function(){ var form = layui.form; form.render(); // 加入这一句});...
2024-11-09 前端开发问题
313

layui要如何改变时间日历布局大小?
问题描述 我想改变layui时间日历布局大小,这个要怎么操作呢? 解决办法 可以用css样式对时间日历进行重新布局,具体代码如下: !DOCTYPE htmlhtmlheadmeta charset="UTF-8"title/titlelink rel="stylesheet" href="../../layui/css/layui.css" /style#test-...
2024-10-24 前端开发问题
271

从 JavaScript 文件或 REPL 中 require()'ing CoffeeScript 文件
require()#39;ing a CoffeeScript file from a JavaScript file or REPL(从 JavaScript 文件或 REPL 中 require()ing CoffeeScript 文件)...
2024-04-20 前端开发问题
10

从快速中间件中排除路由
Exclude route from express middleware(从快速中间件中排除路由)...
2024-04-20 前端开发问题
12

从 Promise 结果中导出 Node 模块
Exporting Node module from promise result(从 Promise 结果中导出 Node 模块)...
2024-04-20 前端开发问题
3

缩放背景图像以适合 ie8 窗口
Scale background image to fit ie8 window(缩放背景图像以适合 ie8 窗口)...
2024-04-19 前端开发问题
11