Manual Yeoman Installation Item

I want to use a library in my yoman project which is not in the bower repository. What's the best way to integrate a library into a yoman project structure? This library requires jquery loading first.

+3


source to share


1 answer


I just put the client javascript libraries folders in my app / scripts / vendor folder and reference them to load in index.html

Make sure you put your script tag inside these comment blocks

<!-- build:js scripts/scripts.js -->

      



and

<!-- endbuild -->

      

to minify them and combine them into one script file on build.

+3


source







All Articles