距开课0天0时0分-9571029秒
黄舟2017-06-24 09:43:40 0 1 528
[Node.js讨论组]举报回复话题 ↕
bower install bootstrap --save 时在bower.json中只有 bootstrap的信息并没又其依赖的jquery,但是jquey确实是安装了!请问这是怎么原因?
1
0
分享
巴扎黑 2017-06-24 09:45:401楼
bower.json 只保存你项目的依赖 而jQuery是作为bootstrap的依赖安装的你的项目也无需添加jQuery的依赖,如无必要
赞 +0添加回复
巴扎黑 2017-06-24 09:45:401楼
bower.json 只保存你项目的依赖
而jQuery是作为bootstrap的依赖安装的
你的项目也无需添加jQuery的依赖,如无必要
赞 +0添加回复