admin管理员组文章数量:1026645
I'm struggling with bootstrap4. I've imported the bootstrap.bundle.js
which already contain popper.js
.
But anyway I get the following error:
Uncaught ReferenceError: Popper is not defined
Including structure
<script type="text/javascript" src=".../js/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src=".../js/bootstrap.bundle.min.js"></script>
<script type="text/javascript" src=".../js/bootstrap.min.js"></script>
I'm struggling with bootstrap4. I've imported the bootstrap.bundle.js
which already contain popper.js
.
But anyway I get the following error:
Uncaught ReferenceError: Popper is not defined
Including structure
<script type="text/javascript" src=".../js/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src=".../js/bootstrap.bundle.min.js"></script>
<script type="text/javascript" src=".../js/bootstrap.min.js"></script>
Share
Improve this question
edited Dec 6, 2017 at 11:50
Andriy Klitsuk
asked Dec 6, 2017 at 11:44
Andriy KlitsukAndriy Klitsuk
5643 silver badges14 bronze badges
1
- where you include that show some code either you call a function which library is missing or below that function – Noni Commented Dec 6, 2017 at 11:48
2 Answers
Reset to default 9bootstrap.bundle.js or bootstrap.bundle.min.js contains Bootstrap + Popper.js so you just have to include jQuery and Bootstrap Bundle and everything is done
<script src="https://code.jquery./jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn./bootstrap/4.0.0-beta.2/js/bootstrap.bundle.min.js" integrity="sha384-3ziFidFTgxJXHMDttyPJKDuTlmxJlwbSkojudK/CkRqKDOmeSbN6KLrGdrBQnT2n" crossorigin="anonymous"></script>
Add popper.min.js
to your file
<script src="https://cdnjs.cloudflare./ajax/libs/popper.js/1.12.3/umd/popper.min.js" integrity="sha384-vFJXuSJphROIrBnz7yo7oB41mKfc8JzQZiCq4NCceLEaO4IHwicKwpJf9c9IpFgh" crossorigin="anonymous"></script>
I'm struggling with bootstrap4. I've imported the bootstrap.bundle.js
which already contain popper.js
.
But anyway I get the following error:
Uncaught ReferenceError: Popper is not defined
Including structure
<script type="text/javascript" src=".../js/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src=".../js/bootstrap.bundle.min.js"></script>
<script type="text/javascript" src=".../js/bootstrap.min.js"></script>
I'm struggling with bootstrap4. I've imported the bootstrap.bundle.js
which already contain popper.js
.
But anyway I get the following error:
Uncaught ReferenceError: Popper is not defined
Including structure
<script type="text/javascript" src=".../js/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src=".../js/bootstrap.bundle.min.js"></script>
<script type="text/javascript" src=".../js/bootstrap.min.js"></script>
Share
Improve this question
edited Dec 6, 2017 at 11:50
Andriy Klitsuk
asked Dec 6, 2017 at 11:44
Andriy KlitsukAndriy Klitsuk
5643 silver badges14 bronze badges
1
- where you include that show some code either you call a function which library is missing or below that function – Noni Commented Dec 6, 2017 at 11:48
2 Answers
Reset to default 9bootstrap.bundle.js or bootstrap.bundle.min.js contains Bootstrap + Popper.js so you just have to include jQuery and Bootstrap Bundle and everything is done
<script src="https://code.jquery./jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn./bootstrap/4.0.0-beta.2/js/bootstrap.bundle.min.js" integrity="sha384-3ziFidFTgxJXHMDttyPJKDuTlmxJlwbSkojudK/CkRqKDOmeSbN6KLrGdrBQnT2n" crossorigin="anonymous"></script>
Add popper.min.js
to your file
<script src="https://cdnjs.cloudflare./ajax/libs/popper.js/1.12.3/umd/popper.min.js" integrity="sha384-vFJXuSJphROIrBnz7yo7oB41mKfc8JzQZiCq4NCceLEaO4IHwicKwpJf9c9IpFgh" crossorigin="anonymous"></script>
本文标签: javascriptBootstrapPopper is missing even after importing bootstrap bundleStack Overflow
版权声明:本文标题:javascript - Bootstrap, Popper is missing even after importing bootstrap bundle - Stack Overflow 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1741817835a1889700.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论