Closed Phinome closed 9 years ago
问题R;T:
E.g:
layout.less
.main { .make-column(2/3, 5%); }
lessc layout.less --est --autoprefix throw NameError: .make-column is undefined in layout.less
est , autoprefix 都是以插件形式安装在全局的,即: npm install -g less-plugin-est less-plugin-autoprefix
npm install -g less-plugin-est less-plugin-autoprefix
环境说明:
lessc 2.5.0 (Less Compiler) [JavaScript] node version v0.12.2 npm version 2.7.5
lessc 2.5.0 (Less Compiler) [JavaScript]
node version v0.12.2
npm version 2.7.5
最新说明:查看了src/all.less中没有 @import 'grid.less',vim src/all.less 修复此问题,也烦请你修改一下吧。😁
src/all.less
@import 'grid.less'
vim src/all.less
Fixed in v2.0.1.
问题R;T:
E.g:
layout.less
lessc layout.less --est --autoprefix throw NameError: .make-column is undefined in layout.less
est , autoprefix 都是以插件形式安装在全局的,即:
npm install -g less-plugin-est less-plugin-autoprefix
环境说明:
lessc 2.5.0 (Less Compiler) [JavaScript]
node version v0.12.2
npm version 2.7.5
最新说明:查看了
src/all.less
中没有@import 'grid.less'
,vim src/all.less
修复此问题,也烦请你修改一下吧。😁