FAQ Database Discussion Community


How to set up wiredep with gulp and jade

javascript,jade,gulp,wiredep
I am trying to inject bower files into my jade/html using wiredep. The issue is twofold. If I were to keep the bower_component in the root folder. Being that my server is set up from ./dist and not from root, I am unable to reach bower_compoents If I were to...

Gulp isn't running right

javascript,gulp,wiredep,gulp-inject
I have this tasks: html: transform .jade in .html copy bower resources (css, js and fonts) to /dest/vendor folder add bower resources to .html (script and link tags) add my js (from /dest/js) and my css (from /dest/css) to .html (like prev.) build clean /dest folder copy my js to...

bower + wiredep inject multiple html files

bower,wiredep
Is there a way to inject dependencies in multiple hmtl files? { "directory": "packages", "scripts": { "postinstall": {"wiredep --src index.html", "wiredep --src text.html"} } } This doesn't work :S...

Javascript import just for development

javascript,dependencies,gulp,bower,wiredep
I come from a Java background where it's pretty common to have dependencies for testing and not for production, however, using I'm finding it hard to understand how this can be achieved with Javascript and HTML. I really would like to be able to develop some javascript which only runs...

Using gulp and wiredep, socket.io is not added to index.html (even though it is in bower.json)

javascript,html,socket.io,gulp,wiredep
I have angular, angular-ui-router and socket-io in my bower.json file. When I run my gulp file (using wiredep), the two angular scripts are successfully added to my index.html file but the socket.io script is not - and I cannot figure out why. Thanks for any help //command line [21:56:06] Using...

Cannot find bower packages

angularjs,yeoman,bower,wiredep
I installed Yeoman on snow leopard OSX 6.8. When I run 'grunt serve' I get the following error (it can't find my bower packages): Dream-2:app1 goldenheart$ grunt serve Running "serve" task Running "clean:server" (clean) task >> 1 path cleaned. Running "wiredep:app" (wiredep) task Warning: Error: Cannot find where you keep...