How to a include Stylus Libraries with grunt-contrib-stylus?
I would like to add Jeet & Rupture to my stylus setup.
I have run npm install --save-dev rupture
& npm install --save-dev jeet
But I am not sure on how to have them used by the stylus setup, this is what I have:
// Compiles Stylus to CSS
stylus: {
server: {
options: {
paths: [
'<%= yeoman.client %>/bower_components',
'<%= yeoman.client %>/app',
'<%= yeoman.client %>/components',
'<%= yeoman.client %>/assets'
],
"include css": true
},
files: {
'.tmp/app/app.css' : '<%= yeoman.client %>/app/app.styl'
}
}
},
And this is how I am calling Jeet.
@import 'jeet';
But I get this error failed to locate @import file jeet.styl
>> 6| @import 'jeet';
>> --------------^