Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在这篇关于 stackoverflow的帖子中,作者建议bootstrap.js 在jquery.js. 在他写道的其他情况下,引导模式将无法正常工作。所以我查看了我的起始页的来源,我看到,meteor在jquery之后包含引导程序。现在我的问题是:如何更改流星中包含的包的顺序?
bootstrap.js
jquery.js
编辑:我问的原因是我在引导模式上有问题。例如,当我按下内部按钮或在输入中输入内容时,模式消失了......
添加包的顺序取决于它们的文件名。
默认顺序应该没问题,我也将模式与 jquery 和 bootstrap 包一起使用,没有问题。您是自己添加这些脚本标签吗?你真的不需要它们。
为什么不用流星安装软件包:
meteor add bootstrap meteor add jquery