使用哪一个,AngularUI引导程序还是AngularStrap?

时间:2021-07-28 11:08:22

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

我对安格鲁拉基斯和它的惊奇是一个新手。我的项目需要Twitter的引导插件。我偶然发现了这两个GitHub的项目

  1. AngularStrap http://mgcrea.github.com/angular-strap/
  2. AngularStrap http://mgcrea.github.com/angular-strap/
  3. And AngularUI's bootstrap http://angular-ui.github.com/bootstrap/
  4. 和AngularUI引导http://angular-ui.github.com/bootstrap/

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

现在,我很困惑该选择哪一个。这些是生产准备好了吗?或者我应该使用伴随引导的jQuery扩展。

1 个解决方案

#1


24  

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.

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

#1


24  

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.

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