杨凯
|
自动编译(/src/less/theme.less)失败: no viable alternative at input '.' in ruleset (which started at 541:1) extraneous input '!important' expecting ';' in variable declaration (which started at 545:5) extraneous input '!important' expecting ';' in variable declaration (which started at 557:5) missing EOF at '}' in stylesheet (which started at 5:1) |
杨凯
|
用sublime的插件,hbulider的插件,nodejs的lessc都编译不了 而且报的错都不一样 |
sunhao
|
因为ZUI的主题需要导入其他文件,所以单独的theme文件是无法直接编译的。 一般推荐使用grunt来编译,grunt build:theme 命令会自动处理依赖关系。 如果你需要自己单独编译,可以在zui目录新建一个文件写入以下内容来编译:
@import ".src/less/basic/colorset.less"; @import "src/less/basic/variables.less"; @import "src/less/basic/mixins.less"; @import "src/less/theme.less"; |