search

Home  >  Q&A  >  body text

javascript - In bower.json there is only the bootstrap information and no jquery that it depends on.

When bower install bootstrap --save, there is only bootstrap information in bower.json and no jquery that it depends on, but jquey is indeed installed! What is the reason for this?

黄舟黄舟2759 days ago1070

reply all(1)I'll reply

  • 巴扎黑

    巴扎黑2017-06-24 09:45:40

    bower.json only saves the dependencies of your project
    And jQuery is installed as a dependency of bootstrap
    There is no need to add jQuery dependencies to your project, if not necessary

    reply
    0
  • Cancelreply