【发布时间】:2014-07-10 10:40:23
【问题描述】:
我正在为 sass 使用 scss 格式(我正在使用括号)。当我使用 watch 命令(sass --watch “我拥有所有 sass 文件的文件夹”)时,我收到以下错误消息:
error sass (Line 37: Inconsistent indentation: 2 spaces were used for indentation, but the rest of the document was indented using 8 spaces.)
行号是否与生成的 css 文件、scss 文件或其他文件中的行号相对应(我将部分内容包含在我的 base.scss 文件中)。
base.scss 文件中的第 37 行以与其他行相同的方式缩进。
font-family: Arial;
【问题讨论】:
-
更新:我看错了文件夹。我现在对 scss 文件没有任何问题。
标签: sass