zurb-foundation 与 Angular JS 兼容吗?
Is zurb-foundation compatible with Angular JS?
我需要将站点从一个框架迁移到另一个框架,因为我需要使用 Angular JS。
我发现 zurb-foundation 非常有趣。刚好好像用的是jQuery.
根据本网站https://scotch.io/tutorials/how-to-correctly-use-bootstrapjs-and-angularjs-together
When building out Angular projects, you should not add on the full jQuery library. jQlite is already included in Angular and this should be all the jQuery that is necessary.
我有过一次糟糕的经历 运行 Bootstrap 和 Angular 在一起,我不想重蹈覆辙。
碰巧我在 zurb-foundation 找到了下面这行 index.html
<script src="js/vendor/jquery.js"></script>
快速搜索显示它似乎是 jQuery 的 "simplified" 版本(我错了吗?)。
我似乎有很多人在 Foundation 应用程序中质疑与 Angular 相关的事情。
我的问题是:Angular 与 Foundation 兼容吗?
一个快速的回答是它们当然是相互兼容的。检查基础 5 的 this out from Zurb. However if you do not want to use JQuery, then the easiest way is to use pineconellc。据我所知,基础 6 还没有端口。
虽然您会在许多地方看到使用 Angular 时应远离 jQuery,但您也会注意到微妙的 "at first" 到处都是。 Angular 非常自以为是,并采用声明式的方式做事,而 jQuery 是命令式的。 Check this out for more on the topic.
回答你的问题:
Scotch.io关于Angular和Bootstrap的教程涉及UIBootstrap,一个用Angular编写的指令库能够更轻松地集成常见的 Bootstrap 功能。
Foundation 的 UI Bootstrap 的等价物也是 Angular Foundation. I recommend giving this thread 回顾,因为它包含可能与您的用例相关的信息。
所以是的,Angular 与 Foundation 兼容。快乐黑客:)
我需要将站点从一个框架迁移到另一个框架,因为我需要使用 Angular JS。 我发现 zurb-foundation 非常有趣。刚好好像用的是jQuery.
根据本网站https://scotch.io/tutorials/how-to-correctly-use-bootstrapjs-and-angularjs-together
When building out Angular projects, you should not add on the full jQuery library. jQlite is already included in Angular and this should be all the jQuery that is necessary.
我有过一次糟糕的经历 运行 Bootstrap 和 Angular 在一起,我不想重蹈覆辙。
碰巧我在 zurb-foundation 找到了下面这行 index.html
<script src="js/vendor/jquery.js"></script>
快速搜索显示它似乎是 jQuery 的 "simplified" 版本(我错了吗?)。
我似乎有很多人在 Foundation 应用程序中质疑与 Angular 相关的事情。
我的问题是:Angular 与 Foundation 兼容吗?
一个快速的回答是它们当然是相互兼容的。检查基础 5 的 this out from Zurb. However if you do not want to use JQuery, then the easiest way is to use pineconellc。据我所知,基础 6 还没有端口。
虽然您会在许多地方看到使用 Angular 时应远离 jQuery,但您也会注意到微妙的 "at first" 到处都是。 Angular 非常自以为是,并采用声明式的方式做事,而 jQuery 是命令式的。 Check this out for more on the topic.
回答你的问题:
Scotch.io关于Angular和Bootstrap的教程涉及UIBootstrap,一个用Angular编写的指令库能够更轻松地集成常见的 Bootstrap 功能。
Foundation 的 UI Bootstrap 的等价物也是 Angular Foundation. I recommend giving this thread 回顾,因为它包含可能与您的用例相关的信息。
所以是的,Angular 与 Foundation 兼容。快乐黑客:)