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

Update docs for nib usage #12

Open
optikalefx opened this issue Mar 18, 2016 · 2 comments
Open

Update docs for nib usage #12

optikalefx opened this issue Mar 18, 2016 · 2 comments

Comments

@optikalefx
Copy link

since nib is super popular with stylus, please add the last comment in this thread to the docs for how to use nib with stylus. It's not clear anywhere in here and requires digging.

ember-cli/ember-cli#650

Code from there

npm install --save-dev nib
  var nib = require('nib');
  var app = new EmberApp(defaults, {
    stylusOptions: {
      use: [nib()],
      inputFile: 'style.styl',
      outputFile: 'style.css'
    }
  }
@optikalefx
Copy link
Author

Should also add that you need to @import 'nib' in your app.styl file.

@drewcovi
Copy link
Owner

drewcovi commented Aug 2, 2016

very cool stuff. ive always used ember-cli-autoprefixer, but ill try to get that updated here within the week.

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