【发布时间】:2016-09-05 19:05:32
【问题描述】:
我想在我的 Angular Meteor 1.3 Ionic 项目中添加 ngCordova。
- 我基于以下示例但没有成功(可能是因为它不是 Meteor 1.3):https://github.com/netanelgilad/meteor-ionic-example
- 我测试了这个包https://github.com/netanelgilad/meteor-ng-cordova,但它不起作用(可能它不适用于meteor 1.3)
=> 我在 google chrome 控制台上遇到了这个错误: partyAdd.js:30 Uncaught TypeError: _angular2.default.module(...).component is not a function
=> 我在 Ios Simulator 控制台(在 Safari 上)遇到了这个错误: TypeError: _angular2['default'].module(name, [_angularMeteor2['default']]).component 不是函数。 (在 '_angular2['default'].module(name, [_angularMeteor2['default']]).component', '_angular2['default'].module(name, [_angularMeteor2['default']]).component ' 未定义)
您能帮我添加 ngCordova 吗? 来自这个教程:http://www.angular-meteor.com/tutorials/socially/angular1/ionic
谢谢
【问题讨论】:
-
这里一样..有解决方案吗?
标签: angularjs meteor ionic-framework ngcordova