我可以使用bootstrap 3和jQuery Mobile吗? [英] Can I use bootstrap 3 together with jQuery Mobile?

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

问题描述

我已经阅读了许多bootstrap vs. jQuery mobile文章。很明显,他们都有不同的目标。那么结合它们呢?

I have read many "bootstrap vs. jQuery mobile" articles. It is quite clear that they both have different aims. So what about combining them?

除了其他外,我喜欢bootstrap的响应式布局功能。另一方面,我也喜欢页面的方法和jQuery移动(包括滑动事件等)和转换的可能性。

Besides other, I like the responsive layout features of bootstrap. On the other hand I also like the "page" approach and the possibilities of jQuery mobile (including swipe events etc.) and transitions.

有专业项目结合两者?或任何试图这样做,失败了吗?

我知道的通过引导使用jQuery Mobile 看起来像一个类似的问题,但它已经过时了(指的是引导2)。

I know Using Bootstrap with jQuery Mobile looks like a similar question but it is outdated (refering to bootstrap 2).

推荐答案

结论
我不会推荐相结合的JQuery Mobile和引导复杂的项目。

Conclusion I would not recommend combining JQuery Mobile and Bootstrap for complex projects.

JQM知识
我们正在使用JQuery Mobile(JQM)框架构建一系列复杂的Web应用程序。我们花了一年多时间生产这个,现在有相当合理的JQM知识。

JQM Knowledge We are building a series of sophisticated web application all using the JQuery Mobile (JQM) Framework. We have spent over a year producing this and now have pretty reasonable knowledge of JQM.

阳性:其中一些功能非常实用,例如持续页脚和移动友好组件,使HTML5应用程序具有漂亮的本地感觉。
Negatives:我们不得不禁用JQM的很多功能,例如预加载页面以创建我们需要的复杂功能。

Positives: Some of the features are useful such as persistent footers and the mobile friendly components which give the HTML5 app a pretty native feel. Negatives: We have had to disable quite a lot of features of JQM such as preloading pages to create the complex functionality we required.

最终结果是好的因为我们已经愚弄了iOS开发人员认为它是本机的。

The end result is good as we have fooled iOS developers into thinking it was native.

引导知识
我最近也生产使用引导做广告上述JQM产品一个负责任的网站,并已经制定了很( http://www.sure-sense.com )。

的组合
我试图引导与仪表板应用JQM项目结合起来,但已迅速强调,2框架不兼容。 JQM的CSS标记在引导CSS顶部的组件,结果是一些组件看起来像JQM和其他人喜欢bootstrap。

The Combo I tried to combine the bootstrap with the JQM project on a dashboard application but that has quickly highlighted that the 2 frameworks are not compatible. The CSS of JQM marks up the components on top of the bootstrap CSS and the results are some components looking like JQM and others like bootstrap.

这篇关于我可以使用bootstrap 3和jQuery Mobile吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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