无法在我的应用中使用ember-components

时间:2014-09-25 01:40:35

标签: ember.js handlebars.js

通过凉亭安装ember-components后,我正在尝试使用它;

取决于组件我得到不同的错误; 例如,如果我尝试使用选项卡组件(简单版本),我得到这个:

Assertion Failed: `blockHelperMissing` was invoked without a helper name, which is most likely due to a mismatch between the version of Ember.js you're running now and the one used to precompile your templates. Please make sure the version of `ember-handlebars-compiler` you're using is up to date.
Error: Assertion Failed: `blockHelperMissing` was invoked without a helper name, which is most likely due to a mismatch between the version of Ember.js you're running now and the one used to precompile your templates. Please make sure the version of `ember-handlebars-compiler` you're using is up to date.

对于其他组件(如手风琴),我会收到如下错误:

Uncaught Error: <App.ItaHomeView:ember360> Handlebars error: Could not find property 'em-accordion' on object <App.HomeController:ember408>.

我使用的是Ember 1.7.0,车把1.3.0和ember-components 0.2.0

任何人都可以解释我做错了吗?

0 个答案:

没有答案