Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting it to work with grunt-contrib-stylus #35

Closed
fourcolors opened this issue Dec 22, 2013 · 1 comment
Closed

Getting it to work with grunt-contrib-stylus #35

fourcolors opened this issue Dec 22, 2013 · 1 comment

Comments

@fourcolors
Copy link

Hey I didn't know where to ask this because there wasn't a group or anything but I'm trying to get my project set up with bootstrap-stylus and I'm using grunt-contrib-stylus. What is the best way to import bootstrap before all of the other stylus using the grunt "import" option?

I was hoping to do something like this

grunt.initConfig
stylus:
options:
import: ['bootstrap', 'nib']
compile:
files:
'build/style.css' : 'app/assets/styles/*/.styl'

but that breaks because it can't find bootstrap.

p.s. Sorry I'm asking this here...

@maxmx
Copy link
Owner

maxmx commented Dec 22, 2013

There is a grunt file in this project that uses grunt-contrib-stylus

You can have a look at it to see how it works

@maxmx maxmx closed this as completed Feb 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants