search

Home  >  Q&A  >  body text

github - bower install和直接在git下载有什么区别?

如题,我bower install 以后,看了一下目录结构,和github上的完全不一样.这个框架直接download下来引入一下就能用,为什么还要bower install呢?

阿神阿神2840 days ago700

reply all(3)I'll reply

  • 阿神

    阿神2017-04-28 09:06:52

    bower is a plug-in management tool.

    There is a scenario where there are two jquery plug-ins, one depends on 1.0 and the other depends on 1.1, then we know to download jquery 1.0 instead of 1.1. Otherwise there may be problems.

    So if you use 10 jquery plug-ins, how do you manage them? At this time, the function of bower will appear, helping you manage dependencies.

    reply
    0
  • 世界只因有你

    世界只因有你2017-04-28 09:06:52

    Bower will be more automated. I think it is very convenient. One bower.json can handle all dependencies

    reply
    0
  • 给我你的怀抱

    给我你的怀抱2017-04-28 09:06:52

    Bower helps you manage more plug-in dependencies, not just a download tool.
    It is a management tool, not a download tool.

    reply
    0
  • Cancelreply