Automatically call bower_components in header

Asked

Viewed 46 times

0

I’m using Watt to download and maintain the dependencies I’ll need to use in the project. If I understand correctly I can run a Power update and will update them for me.

I’m with jquery, bootstrap, backbone in the bower_components folder but not being called in my "header.php", how to do this automatically? To always update with the new versions that will be downloaded in the future?

Should I use Grunt for this? It will call dependencies in some file I select?

  • What’s wrong with manually entering a path /bower_components/jquery/jquery.js? In this case, if you update the jQuery with the bower, the browser will already download the updated version.

1 answer

1

  • Besides wiredep you can use Grunt-usemin to automate the minification of these files.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.