Reputation: 340
I want to use a library in my yeoman project that is not in the bower repo. What is the best way to integrate the library into the yeoman project structure? This library requires jquery to be loaded first.
Upvotes: 3
Views: 673
Reputation: 772
I just put the folders of client side javascript libs into my app/scripts/vendor folder and reference them to load in the index.html
Make sure you put the script tag inside these comment blocks
<!-- build:js scripts/scripts.js -->
and
<!-- endbuild -->
in order to have them minified and merged into one script file on build.
Upvotes: 3