使用哪一个,AngularUI Bootstrap 还是 AngularStrap? [英] Which one to use, AngularUI Bootstrap or AngularStrap?

查看:54
本文介绍了使用哪一个,AngularUI Bootstrap 还是 AngularStrap?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 AngularJS 的新手,它很棒.我的项目中需要 Twitter 的引导插件.我偶然发现了这两个 GitHub 项目

I am a novice to AngularJS and its amazing. I need Twitter's bootstrap plugins in my projects. I stumbled upon these two GitHub projects

  1. AngularStrap http://mgcrea.github.com/angular-strap/
  2. 以及 AngularUI 的引导程序 http://angular-ui.github.com/bootstrap/

现在,我很困惑选择哪一个.这些产品准备好了吗?或者我应该使用 Bootstrap 附带的 jQuery 扩展.

Now, I am confused which one to choose. Are these production ready? or should I use the jQuery extensions which comes with Bootstrap.

推荐答案

这两个项目都旨在将 Twitter 的引导小部件作为 AngularJS 指令包含在内,以便您可以以一种干净的方式使用它们.由于它们都没有涵盖 Bootstrap 元素的完整列表,因此您可以根据需要使用哪个 Bootstrap 元素,具体取决于您希望包含在项目中的 Bootstrap 元素.我目前包括两者,到目前为止没有任何问题.

Both projects aim at including Twitter's bootstrap widgets as AngularJS directives, so you can use them in a clean way. Since none of them cover the complete list of Bootstrap elements, you can use which ever you need, depending on the Bootstrap element you wish to include in your project. I'm currently including both and so far there are no issues at all.

这篇关于使用哪一个,AngularUI Bootstrap 还是 AngularStrap?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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