我想让我的用户在我的 Meteor/Ionic 应用程序中登录/注册。我认为这会很容易,因为我使用简单的 {{> loginButtons}},但它在控制台中给了我一个错误 Uncaught Error: No such template: loginButtons
。我的代码是
<div class="bar bar-footer">
<button class="button button-clear">{{> loginButtons}}</button>
<div class="title">Start using!</div>
<button class="button button-clear">{{> loginButtons}}</button>
当然,我已经安装了所有必需的软件包(例如 meteoric:ionic
和通过社交网络进行身份验证的软件包)。
那么我怎样才能实现这个功能(我对所有这些东西都有点陌生)?任何帮助将不胜感激,谢谢。
最佳答案
在一些帮助下,我找出了问题所在。我忘记添加 accounts-ui
包。在此之后,一切工作都非常顺利。
关于javascript - 无法将 {{> loginButtons}} 与 Meteor 和 Ionic 一起使用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31500975/