Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Bowerリポジトリにないyeomanプロジェクトでライブラリを使用したいと思います。ライブラリをヨーマンプロジェクト構造に統合するための最良の方法は何ですか?このライブラリでは、最初にjqueryをロードする必要があります。
クライアント側のjavascriptlibsのフォルダーをapp/scripts / vendorフォルダーに置き、それらを参照してindex.htmlにロードします。
これらのコメントブロック内にスクリプトタグを配置してください
<!-- build:js scripts/scripts.js -->
と
<!-- endbuild -->
それらを縮小して、ビルド時に1つのスクリプトファイルにマージするため。