标签:
bower install jquery --save bower install sea.js --save
{ "name": "framework-demo", "private": true, "dependencies": { "jquery": "~2.1.4", "jquery-ui": "~1.11.4", "knockout": "^3.3.0", "seajs": "^3.0.0" } }
wiredep: { app: { src: [‘<%= config.app %>/index.html‘], ignorePath: /^(\.\.\/)*\.\./ } }
<!-- bower:js --> <script src="/bower_components/jquery/dist/jquery.js"></script> <script src="/bower_components/jquery-ui/jquery-ui.js"></script> <script src="/bower_components/knockout/dist/knockout.js"></script> <script src="/bower_components/seajs/dist/sea.js"></script> <!-- endbower -->
标签:
原文地址:http://blog.csdn.net/itpinpai/article/details/48269825