index.css中没有1.lss样式
来源:3-3 自动化构建工具(2)

慕粉3829031
2017-06-10
在index.less中引用@import'1.less';编译后index.css中没有1.lss样式
gulp.task('less',function (argument) {
gulp.src(app.srcPath+'style/index.less')
.pipe($.less())
.pipe(gulp.dest(app.devPath+'css'))
.pipe($.cssmin())
.pipe(gulp.dest(app.prdPath+'css'));
})
写回答
2回答
-
慕雪1613582
2017-06-11
看看编译的时候是不是报错了
00 -
时光释怀了记忆
2017-06-10
确定是把1.less写在style目录下了么
012017-06-11
相似问题