Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3

后端 未结 7 754
有刺的猬
有刺的猬 2020-11-30 08:43

Introduction

I am working with the bootstrap framework.I am currently working on \"Bootstrap Tabs\"(hide/show).I am using bootstrap version 3 and jq

相关标签:
7条回答
  • 2020-11-30 09:43

    If you use Bower to manage your javascript packages, to exclude jquery 3.0 you should specify the version of jquery like:

    "jquery": "^2.2"
    

    in your bower.json.

    The bower.json of jquery-ui package has a following line:

    "jquery": ">=1.6"
    

    Because of it Bower installs the latest version of jQuery, which causes your problem.

    Note that jQuery 3.0 is released as of June 9, 2016.

    0 讨论(0)
提交回复
热议问题