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

stylus @import path #12

Open
groner opened this issue Oct 26, 2012 · 1 comment
Open

stylus @import path #12

groner opened this issue Oct 26, 2012 · 1 comment

Comments

@groner
Copy link

groner commented Oct 26, 2012

This is sort of a support request, but there may be a bug or a feature request in here.

I'm converting a project that uses less to stylus so I can try styler. I have all my stylus files under one directory in a tree that's two layers deep. This directory is the search path I've configured for stylus, it's also the path I've added to styler.

app/css/
  editor/
    editor.styl
    procedures.styl

So, editor/editor.styl contains @import "editor/procedures".

stylus builds this ok and I load css/editor/editor.css in my html.

When editing editor/editor.styl, styler reports "failed to locate @import file editor/procedures" (I tried with and without the .styl extension).

@tonistiigi
Copy link
Owner

But when you just call @import procedures then it works, right?

I guess there could be some kind of "Stylus settings" pane on the project creation where you could add these lookup paths and plugins. And maybe sometimes in the future you could even pick stylus/nib version for your project there.

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