-
Notifications
You must be signed in to change notification settings - Fork 143
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
Not working with pug? #243
Comments
thats because pug support hasnt been added in yet #239 |
I noticed the merge and I downloaded wiredep again via npm, the injection still not working with pug files, tho. Any clue? Edit: the package on npm registry seems not updated yet, that's why. |
Yeah I didn't do a release yet since its needs a bit of testing. If you want to npm install the git version and try it out that would be helpful. |
@pwnjack <!--bower:css-->
<!--endbower--> will work just fine. |
@carusog |
I've spend two hours to figure out what is wrong with wiredep ((( |
Thanks, that works perfectly! To anyone who's stuck at this as long as I was - carusog's fix still works and is required, because wiredep, as of 4.0.0, doesn't support .pug. The only downside is that now the html comment will actually appear in the output, unlike pug comment lines, but I can live with that. |
You can install the latest wiredep version (working with pug) via npm with this command:
This is the git repo version and will work just fine. |
Wiredep seems to not work with .pug (formerly .jade). I get no errors but isn't injecting at all. Am I doing something wrong?
This is my gulp task:
And these are the tags in my .pug file:
These are the dependencies that should be injected, from my bower.json file.
The text was updated successfully, but these errors were encountered: