我可以在没有 jquery 的情况下使用 twitter bootstrap 吗? [英] Can I use twitter bootstrap without jquery?

查看:42
本文介绍了我可以在没有 jquery 的情况下使用 twitter bootstrap 吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在一个不使用 JQuery 的项目中工作.

twitter bootstrap 依赖于它吗?

解决方案

Twitter 引导程序本身不依赖于 jQuery.

如果你只使用它的 CSS 部分,你就不需要 jQuery.

如果您使用 Javascript 插件,则需要 jQuery,因为它们是 jQuery 插件.

v3:http://getbootstrap.com/javascript/>

v4:https://getbootstrap.com/docs/4.0/getting-started/javascript/

I work in a project where we don't use JQuery.

Is twitter bootstrap dependant on it ?

解决方案

Twitter bootstrap itself isn't jQuery dependant.

If you use just the CSS part of it, you won't need jQuery.

If you use the Javascript plugins you need jQuery, since they are jQuery plugins.

v3: http://getbootstrap.com/javascript/

v4: https://getbootstrap.com/docs/4.0/getting-started/javascript/

这篇关于我可以在没有 jquery 的情况下使用 twitter bootstrap 吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆