Stylus jeet 不再工作了
Stylus jeet doesn't work anymore
在一天之内我收到了这个错误。它对我不再有用了。
gulpfile.js
var gulp = require('gulp'),
stylus = require('gulp-stylus'),
jeet = require('jeet');
gulp.task('default', function () {
gulp.src('assets/*.styl')
.pipe(stylus({
use: [ jeet() ]
}))
.pipe(gulp.dest('assets/'));
});
theme.styl
@import "jeet"
.page
span(1/2)
failed to locate @import file jeet.styl
完全错误 – http://pastebin.com/KuZ4ZPwK
npm i github:mojotech/jeet#master --save-dev
或
npm i jeet@6.1.2 --save-dev
在一天之内我收到了这个错误。它对我不再有用了。
gulpfile.js
var gulp = require('gulp'),
stylus = require('gulp-stylus'),
jeet = require('jeet');
gulp.task('default', function () {
gulp.src('assets/*.styl')
.pipe(stylus({
use: [ jeet() ]
}))
.pipe(gulp.dest('assets/'));
});
theme.styl
@import "jeet"
.page
span(1/2)
failed to locate @import file jeet.styl
完全错误 – http://pastebin.com/KuZ4ZPwK
npm i github:mojotech/jeet#master --save-dev
或
npm i jeet@6.1.2 --save-dev