关于使用Zurb's Foundation+AngularJS的想法?

时间:2022-10-22 09:20:24

I know this sounds like a pretty generic question, but I have already made a research and there is not much information out there, other than these two seem not to "play" very well together.

我知道这听起来像一个非常通用的问题,但我已经做了一个研究,并没有太多的信息,除了这两个似乎不能很好地“发挥”在一起。

I am referring to the latest version of Foundation, 5, which just got released. If AngularJS can work with jQuery, and Foundation is using jQuery, what is it that causes the problem, if there is a problem at all.

我指的是刚刚发布的最新版本的Foundation,5。如果AngularJS可以使用jQuery,而Foundation正在使用jQuery,那么如果出现问题则导致问题的原因是什么。

Has any of you used these two together? And what could be some better alternatives on the JS side of things? Backbone? Ember? Which one would work with Foundation and why?

有没有人一起使用这两个?什么可以是JS方面的一些更好的替代品?骨干?余烬?哪一个可以与基金会合作?为什么?

p.s. I am aware that Twitter Bootstrap works well with AngularJS, however, for my project, Foundation is a requirement.

附:我知道Twitter Bootstrap适用于AngularJS,但是,对于我的项目,Foundation是一项要求。

Thanks,
Iraklis

谢谢,伊拉克利斯

4 个解决方案

#1


46  

We recently adapted most Angular UI Bootstrap components for use with the Foundation CSS and open sourced the code: http://pineconellc.github.io/angular-foundation/

我们最近调整了大多数Angular UI Bootstrap组件,用于Foundation CSS并开源代码:http://pineconellc.github.io/angular-foundation/

#2


5  

The Angular-UI project provides deep integration of Twitter Bootstrap and AngularJS. That does not mean that Foundation Zurb and AngularJS does not work well together.

Angular-UI项目提供了Twitter Bootstrap和AngularJS的深度集成。这并不意味着Foundation Zurb和AngularJS不能很好地协同工作。

With Zurb you have higher integration effort than with a ready-baked framework if you stick to standard components. At the time you need additional components you have to do the integration yourself anyway.

如果您坚持使用标准组件,那么与Zurb相比,您可以获得更高的集成度,而不是现成的框架。当您需要其他组件时,您无论如何都必须自己进行集成。

This is the same for other Javascript frameworks like Ember, btw.

对于像Ember,btw这样的其他Javascript框架也是如此。

#3


0  

I've been using AngularJS with Foundation 4 without any problems for a while now - as others have said, you need to do a bit more work yourself but it's not a big deal.

我一直在使用AngularJS和Foundation 4没有任何问题 - 正如其他人所说的那样,你需要自己做更多的工作,但这不是什么大问题。

In saying that, I've just upgraded to Foundation 5 and it's broken my Reveal provider for AngularJS (won't close)!

在说,我刚刚升级到基金会5,它已经打破了AngularJS的Reveal提供商(不会关闭)!

#4


0  

Yes, http://pineconellc.github.io/angular-foundation/ is evolving over the time, and now you have very less distance between bootstrap and foundation in terms of angular integration, and also plenty of documentation on Foundation site

是的,http://pineconellc.github.io/angular-foundation/正在不断发展,现在你在角度集成方面与bootstrap和基础之间的距离非常小,而且在Foundation网站上也有很多文档

http://foundation.zurb.com/sites/docs/ can help you get the things done.

http://foundation.zurb.com/sites/docs/可以帮助您完成工作。

#1


46  

We recently adapted most Angular UI Bootstrap components for use with the Foundation CSS and open sourced the code: http://pineconellc.github.io/angular-foundation/

我们最近调整了大多数Angular UI Bootstrap组件,用于Foundation CSS并开源代码:http://pineconellc.github.io/angular-foundation/

#2


5  

The Angular-UI project provides deep integration of Twitter Bootstrap and AngularJS. That does not mean that Foundation Zurb and AngularJS does not work well together.

Angular-UI项目提供了Twitter Bootstrap和AngularJS的深度集成。这并不意味着Foundation Zurb和AngularJS不能很好地协同工作。

With Zurb you have higher integration effort than with a ready-baked framework if you stick to standard components. At the time you need additional components you have to do the integration yourself anyway.

如果您坚持使用标准组件,那么与Zurb相比,您可以获得更高的集成度,而不是现成的框架。当您需要其他组件时,您无论如何都必须自己进行集成。

This is the same for other Javascript frameworks like Ember, btw.

对于像Ember,btw这样的其他Javascript框架也是如此。

#3


0  

I've been using AngularJS with Foundation 4 without any problems for a while now - as others have said, you need to do a bit more work yourself but it's not a big deal.

我一直在使用AngularJS和Foundation 4没有任何问题 - 正如其他人所说的那样,你需要自己做更多的工作,但这不是什么大问题。

In saying that, I've just upgraded to Foundation 5 and it's broken my Reveal provider for AngularJS (won't close)!

在说,我刚刚升级到基金会5,它已经打破了AngularJS的Reveal提供商(不会关闭)!

#4


0  

Yes, http://pineconellc.github.io/angular-foundation/ is evolving over the time, and now you have very less distance between bootstrap and foundation in terms of angular integration, and also plenty of documentation on Foundation site

是的,http://pineconellc.github.io/angular-foundation/正在不断发展,现在你在角度集成方面与bootstrap和基础之间的距离非常小,而且在Foundation网站上也有很多文档

http://foundation.zurb.com/sites/docs/ can help you get the things done.

http://foundation.zurb.com/sites/docs/可以帮助您完成工作。