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

Use nib with the stylus executable? #24

Closed
timoxley opened this issue Jul 25, 2011 · 4 comments
Closed

Use nib with the stylus executable? #24

timoxley opened this issue Jul 25, 2011 · 4 comments

Comments

@timoxley
Copy link

Is is somehow possible to use nib with the stylus executable?

@tj
Copy link
Collaborator

tj commented Jul 25, 2011

I added --use path, it's kinda not 100% ideal but you should be able to do stylus --use path/to/nib/lib/nib

@timoxley
Copy link
Author

Awesome. Thanks

@SlexAxton
Copy link
Contributor

--use nib seems to work just fine (since it just feeds it into a require statement and npm picks up the tab from there).

Is there a way to force the creation of gradient images and stuff when you use it in this way? I have node-canvas installed as well.

@tj
Copy link
Collaborator

tj commented Oct 11, 2011

@SlexAxton good question. With the way nib is set up it should "just work" if node-canvas is installed locally. This sort of functionality is definitely a down-side of how npm behaves now

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

3 participants