简体   繁体   English

没有角度的基础应用程序错误

[英]foundation-apps error without angular

Is angular required to use foundation-apps? 使用Foundation应用程序需要角度吗? I don't want to use angular, but get an error in foundation-apps.js when i run without it. 我不想使用angular,但是如果我没有使用它,则会在foundation-apps.js中出现错误。 在此处输入图片说明

Same as Twitter Bootstrap's Js components were built using the jQuery framework, Foundation for apps team did choose the angularJs framework to build their Js components. 与Twitter Bootstrap的Js组件是使用jQuery框架构建的一样,Foundation for apps团队确实选择了angularJs框架来构建其Js组件。 without it none of those should work : 没有它,这些都不起作用:

 - Panels
 - Action-Sheet
 - Off-canvas Menu
 - Modal
 - Notification
 - Accordion
 - Interchange
 - Popup
 - Tabs
 - templates caching
 - the built-in routing
 - ...

If you don't want to use angular I would recommand using Foundation for Sites 6 instead as it uses jQuery, flex box, basically similar naming classes, grids and similar or even more components. 如果您不想使用角度,我会建议您使用Foundation for Sites 6代替,因为它使用jQuery,flex box,基本上相似的命名类,网格以及相似甚至更多的组件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法将角度基础输入置于其他基础应用程序网格块之上 - Can't put angular-foundation typeahead above other foundation-apps grid-block 如何使用Foundation-apps使块流动 - How to make blocks flow with Foundation-apps Zurb Foundation-Apps与Karma + Jasmine的集成 - Zurb Foundation-Apps Integration with Karma + Jasmine Foundation-Apps角度站点与karma-jasmine单元测试集成 - Foundation-Apps angular site integration with karma-jasmine unit testing 当我运行“ bower update foundation-apps”时,如何确保Foundation-apps _settings.scss文件不会被覆盖 - How to ensure the foundation-apps _settings.scss file isn't overwritten when I run 'bower update foundation-apps' 如何将Foundation-Apps zf面板放置在可点击的同一网格行上 - How can I position a Foundation-Apps zf-panel on same grid row as clickable 'foundation-apps'不被识别为内部或外部命令,可操作程序或批处理文件 - 'foundation-apps' is not recognized as an internal or external command, operable program or batch file 如何在Foundation for Apps中使用Angular模板标签? - How to use Angular templating tags in Foundation for Apps? Apps for Foundation,Angular,从JSON显示数据 - Foundation For Apps, Angular, Display data from JSON 添加模块时ZURB Foundation for Apps [$ injector:modulerr]错误 - ZURB Foundation for Apps [$injector:modulerr] error when adding modules
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM